1
vote
1answer
96 views

ReadList or any other command to read in blocks of very large numbers

I have a data file, data.txt, having following data: ...
1
vote
1answer
51 views

How to use many global assumptions [closed]

I would like to use many global assumptions. Say I have two global assumptions. $Assumptions = 0 < a < 1 $Assumptions = 0 < b < 1 Then I would like ...
1
vote
0answers
52 views

Problem with importing numbers resulting from an executed file in Mathematica [closed]

I am running Mathematica 10 and I have a mathematica file, MBdebug.m, that contains the line val = Import["! ./MBpart1ep0", "Table"]; MBpart1ep0 is an ...
1
vote
1answer
39 views

Strange behaviour of Set and Part when given a sequence

Consider this example: lis1 = {a, b, c}; lis1[[2]] = Sequence[e, f]; lis1 (*{a, e, f, c}*) lis1[[2]] (*e*) lis1[[2]] = Sequence[g, h]; lis1 (*{a, g, h, c}*) It ...
4
votes
2answers
64 views

DSolve results not what expected

I have the following formula: s'[t] == 230.94 Tan[0.914743 - 0.138564 t] When I solve this by hand I get: ...
3
votes
2answers
126 views

Retrieving coordinate positions using ChemicalData for input to quanutm modelling software

I am trying to set up an input file for a quantum chemical modelling software. How do I obtain the (XYZ) coordinate positions in Angstroms using information obtained using ChemicalData. Have some ...
3
votes
1answer
150 views

Mesh for points in 3D

I've got a set of Eisenstein integers (triangle lattice points in the complex plane), and I've selected them to be above a line, so that they form a triangle: I then took these 2D points and ...
2
votes
0answers
39 views

Compiled DiagonalMatrix

The standard function DiagonalMatrix cannot be compiled, so I tried writing my own: ...
3
votes
1answer
94 views

How to use a custom CDF in a Kolmogorov-Smirnov test

How do I use a custom CDF that I defined for a Kolmogorov-Smirnov test. I have one input vector of data whose CDF I claim to have derived but want to check whether it agrees with my closed form ...
0
votes
0answers
45 views

Getting message NIntegrate::inumr: in V10; did not happen in V9 [duplicate]

I just tried making a ParametricPlot that worked error-free in Mathematica 9, but now produces errors before successfully plotting in Mathematica 10. It appears to ...
11
votes
2answers
1k views

Solve Laplace equation using NDSolve

I am new to Mathematica, a friend recommended this software and started using it, in fact download the trial version to know. I recently did a program in C to calculate numerically the solution to ...
1
vote
2answers
160 views

How to define a function or procedure that includes multiple steps?

I would like to define a procedure or function that takes as input an integer, s, and gives as output two nested lists. I have written code (shown below) that does this for one particular value of s, ...
1
vote
1answer
166 views

Save output of NDSolve to a file

I am solving following differential equation using Mathematica, ...
2
votes
3answers
232 views

Syntax of transpose etc [closed]

This is a simple question: {{0, 1}, {0, 2}, {0, 3}}*Transpose[{{0, 1}, {0, 2}, {0, 3}}] returns an error in Mathematica but works perfectly fine in Wolfram Alpha. Can someone help me? Thanks so ...
7
votes
1answer
145 views

Simpler code evaluating Dickman's function?

I've read here that Mathematica 10 can Obtain symbolic solutions to delay differential equations. Would that help in numericaly evaluating Dickman's function $\rho(u)$ ? It is a delay differential ...
5
votes
1answer
143 views

Understanding Dirichlet regularization in Sum

I've tried to calculate few classic sums using Dirichlet regularization: ...
1
vote
0answers
57 views

How could I make visible the convex hull of 3 point inside this region?

Small version of the question How can I control the color and the Thickness of this graph?? ...
1
vote
1answer
106 views

Selecting from Manipulate for ParametricPlot3D

, Referring to yesterday's "Switching parameter lines on/off in a 3D parametric plot" (Switching parameter lines on/off in a 3D parametric plot) From reply by Bob Hanlon for example, can we pick up ...
0
votes
1answer
45 views

Automatically restoring the state of a prior session [duplicate]

I have the following problem (I guess a very naive one): I work with some data and make a statistical analysis in Mathematica. I do it over several days and each time I open the file, I have to go ...
1
vote
1answer
107 views

how to find the vector intersection in a collection of triangulated 3D points?

I'm trying to calculate the 3D point coordinates for the intersection of a vector with a plane. I have been using the following code to do this: ...
1
vote
2answers
78 views

How to append to a list of lists elegantly [duplicate]

I have have list of lists and I would like to be able to append an element to the start of each list. I am sure there must be an elegant solution. EG: a and ...
4
votes
0answers
103 views

Wolfram Workbench autocomplettition

Suppose I have some project in Wolfram Workbench. In some packages need DatabaseLink`. I write it in this way: ...
8
votes
3answers
523 views
1
vote
2answers
157 views

Why ColorReplace does not follow the rules specified?

I tried to use ColorReplace to change the colors obtained from MorphologicalComponents. However some of the changes didn't ...
1
vote
1answer
71 views

Geomarker Scaling

Struggling to get a 3d cylinder to scale properly on a street map. I want to use the stacked cylinder as a custom pin. ...
6
votes
2answers
289 views

How to use Mathematica to turn a picture into low poly style?

I want to use Mathematica to turn a picture into low poly style. That is, to make the following conversion: Bill to Bill low poly(Using Image Triangulator App). I think the biggest difficulty is how ...
11
votes
1answer
245 views

How to do color-fill in Mathematica?

Color fill, the ability to apply a desired color to an enclosed area, is one of the basic functions provided by most graphic applications. Is there a similar ...
6
votes
0answers
139 views

FindRoot kills kernel

Bug introduced in 7.0.1 or earlier. Persists through at least 10.0.2 I'm having problems with FindRoot killing the kernel. In my real application, I want to FindRoot on a black-box function ...
3
votes
0answers
133 views

Generating function for Newton series?

The function GeneratingFunction gives generating function for Taylor series. Is there a similar function for Newton's series? $$f(x) = \sum_{k=0}^\infty \binom{x}k \Delta^k [f]\left (0\right)$$
0
votes
1answer
44 views

Calculate deviation of sum of several equal normal distribution [closed]

I have a normal distribution with mean m and standard deviation d. How can I calculate what will be the deviation if I add N such distributions? As I understand, mean will be m*N. Will standard ...
4
votes
4answers
231 views

Splitting a string into substrings of length 1 and 2

There is already a thread on how to split a string into equal sized chunks. I'm wanting to split a string into sets of substrings of length 1 and 2. For example, if I have the string "123456", my list ...
1
vote
1answer
71 views

ListLinePlot of data imported from an Excel file [duplicate]

This is a continuation of another very similar question about how to plot structured data using ListLinePlot. Here is a sample data imported from an Excel file: ...
6
votes
1answer
77 views

How to assign up-values for `Derivative`?

I have defined several custom analytic functions. Here is the simplest example: ln[x_, a_?NumericQ] := Piecewise[{{Log[x], Re[a] > 0}, {-Log[1/x], True}}] ...
3
votes
0answers
57 views

NIntegrate::ncvbr: How should we interpret and handle this error not mentioned in any documentation?

I have some user-defined module describing my integrand which has to be computed numerically (it's much more complicated than this but bear with me): ...
1
vote
1answer
123 views

Statistics confusion

I have two data sets. When I do a QuantilePlot[data1, data2], I get the graph below. However, ...
0
votes
3answers
71 views

Complement[] changes order of elements?

Consider this example: Complement[{a, y, c, d, e}, {a, c}, {d}] (*{e, y}*) However, I was expecting the result to be: ...
6
votes
2answers
206 views

Is there a built-in function which detects singularities in a function?

Given a function f[x] and a region M in the complex x-plane, how can I find singularities of f in this region, i.e., issue a ...
1
vote
1answer
59 views

How can I “ORDER BY” using SQLSelect?

A pretty straightforward problem, you would think, but I cannot seem to find the answer in the documentation for SQLSelect. The query I want to run is the following: ...
2
votes
1answer
125 views

(Very) ill-behaved Piecewise Plot

I am interested in defining a function (with arguments: a symbol for a variable and a list of 6 points) that represents a quadratic interpolating spline of the points. Here is my attempt ...
3
votes
1answer
127 views

Switching parameter lines on/off in a 3D parametric plot

In a classroom demonstration for ParametricPlot3D [{f[u, v], g[u, v], h[u, v]}, {u, ... }, {v, ... }] I want to show u lines only without v, v lines only ...
26
votes
3answers
4k views

How many triangles are there?

Some time ago I found a puzzle and it stopped my work until I solved it. One of the possible solutions: Let us sum upright and upside down triangles whose top lies in the $i$-th row. $$ ...
3
votes
1answer
59 views

Windows Insert File Path

Suppose I want to Save["filename", foo] under Windows. Ordinarily, the way to deal with file names under windows is to open the Insert dialogue and find a file path, but in this use case, the file is ...
4
votes
0answers
48 views

CompiledFunction with multiple outputs of different ranks

Below is a simple compiled function f that gives multiple outputs. ...
0
votes
0answers
48 views

Custom simplification of symbolic definite integral with regards to bounds

I would like to rewrite symbolic definite integrals such that the bounds are always positive. For example : $\int_{-\infty}^\infty f(x) \mathrm{d} x \rightarrow \int_0^\infty \left[ f(x) + f(-x) ...
6
votes
2answers
244 views

Hardware required to perform large symbolic calculations

I'm choosing components to set up a pc aimed to run large symbolic computations in Mathematica 9.0 under Windows 7 64 Bit Pro. I have a limited budget therefore I'm considering this system: Mother ...
7
votes
1answer
285 views

How to draw quantum circuit with mathematica?

How to draw quantum circuit as the following one with mathematica? I only find the quantum package which is designed for MMA 7.0 as the author said. But the version of my Mathematica is 9.0 and when ...
7
votes
3answers
468 views

How do I plot the images of oriented curves under complex transformation?

I'm working on a complex transformation sketch that I'd like to create via mathematica. I'm working with the function $$w=z^2\tag{0},$$ where its real and imaginary parts are $u=x^2-y^2$ and $v=2xy$, ...
9
votes
3answers
1k views

Flying to Australia

I want to compare different flight routes to Australia and their lengths. So far I have written: ...
3
votes
1answer
61 views

Controlling the plot range of a PairedBarChart

I would like to adjust the plot range of a PairedBarChart along the 'bar' direction. However, ...
2
votes
1answer
95 views

X-axis offset for LogLinearPlot

I want to set a zero-offset not only for the y-axis like i did with PlotRangepadding, but also for the x-axis. That means i dont want the white offset left of 1E-4 and right of 1E-1, and the ...

15 30 50 per page