4
votes
1answer
86 views

Is Mathematica's (v10.0.2) NetCDF exporter broken?

I'm trying something very simple, namely: Export["file.nc", {"Datasets" -> {"seqs" -> {"AAA", "BBB"}}}, "Rules"] And getting Java errors about "illegal ...
0
votes
1answer
46 views

How to find and verify relationships between functions?

MMa gave me a complicated result involving Hypergeometric0F1's. It was much less complicated after I discovered this identity: ...
2
votes
1answer
91 views

Series approximation to integral

I would like to approximate the integral $$ \int_0^\infty dy\,\frac{1}{\sqrt{2\pi y\sigma^2}}\exp\left(-\frac{(x-y)^2}{2y\sigma^2}\right)f(y), $$ as a series expansion in the limit $\sigma\rightarrow ...
4
votes
0answers
24 views

Strange behavior when setting NumericQ of a symbol

It happens both in v9&v10. If you try this a^0 a^0 (1/a)^(3/2) a^0 (1/a)^(5/2) Mathematica returns 1 (1/a)^(3/2) (1/a)^(5/2) It's trivial. ...
3
votes
1answer
109 views

Computing launch parameters for hitting a point in 3D with projectile under influence of wind

The end goal of this problem is to compute functions which describe the launch parameters which are needed to hit a specified goal in 3D in the presence of wind disturbances. This is as far I have ...
8
votes
1answer
46 views

Adding Trace produces error messages

This is very strange. As I was trying to debug this problem, I noticed when I add Trace then I get lots of internal errors generated. This also happens the first ...
1
vote
1answer
37 views

Issues with Arrow and Graphics3D

I'm trying to plot a simple picture: a plane with a circle in it, and three vectors in the curve. Mathematica keeps saying that the array "has the wrong dimensions for a graphics coordinate list" and ...
1
vote
1answer
56 views

Notebook downloaded from web giving error message

Just bought a copy of E. J. Mcinnerney's textbook Computational Explorations in Magnetron Sputtering. However, when I download and try Chap2.nb from: ...
0
votes
1answer
33 views

How can I round a number up with two decimals? [on hold]

My problem is, that I have to round a number with many decimals to a number with two decimals. For example: The number is 3.467. Now I want to get 3.46. I tried it with Round[3.4647,0.01], but I only ...
2
votes
1answer
134 views

Replacing powers of $n$-th partial sums in the output of a function with $S[i]$ for $i = 1,\ldots,n$

I've written some simple code that, for various $N \geq 1$ and $k = 1,\ldots,N+1$ computes the $n$-th derivative of $\log S_N$ where $S_N(z) = \sum_{k=0}^N \frac{1}{k!}z^k$ as follows: ...
0
votes
0answers
36 views

Nothing showing up on complex contour plot [on hold]

I am trying to graph the following function, where z:=x+y*I z(Conjugate[z]+2)=3. But with my code nothing is showing up. I've tried many different scales so something must be wrong with the actual ...
0
votes
1answer
59 views

Plotting Complex Numbers - Functions of Complex Numbers [duplicate]

So I have to generate a few different plots with z, where z is a complete number... z[x_, y_] := x + y*I F[z_] := (25*Pi*z*I)/(1 + 10*Pi*z*I) First, I need to ...
5
votes
0answers
26 views

Bug with password locked: Encode -> Import -> StringToStream -> Get

Let's save a definition. Encode it with password/key and Get it again. We will not use Get ...
5
votes
1answer
159 views

How can a function know in which function it was evaluated?

Hello my second question here might be very hard. I am asking for something "magical", if i define a function g and i call it inside a function f, how can g have information about the outer function ...
2
votes
2answers
103 views

Trying to get Arg[1 + I a] -> ArcTan[a]

Can Mathematica evaluate Arg[1+ I a] when a is a positive real in order to get ArcTan[a]? ...
4
votes
1answer
40 views

Problem with Simplify, Sqrt, and Set: What's going on?

I am having some trouble getting Mathematica to simplify an expression of the form Sqrt[x]*Sqrt[1/x], where x>0. The problem is that x is assigned to some complicated form by the time Mathematica ...
2
votes
3answers
157 views

Function to calculate average of multiple lists

I have several lists of experimental data f[x] with different intervals Δx including some noise. ...
0
votes
1answer
43 views

Unintended effect of closing square bracket on Spanish keyboard in Mathematica online

I have only just started using Mathematica Online and I have encountered a problem already with the ubiquitous closing square bracket ] using a Spanish key board. I ...
0
votes
2answers
89 views

Random geometrical graph generation

I would like to generate a random graph on $[0,1]^2$. Each node is connected to one other if the distance between two nodes is say 1/4 or less. Here is an example with 50 nodes and 200 edges I would ...
0
votes
0answers
71 views

How to find soccer balls in an image?

I have 10k images and I need automatically remove only soccer balls, excluding other types (volleyballs, baseballs, etc...). I'd like to use computer vision methods of V10 to find their masks and ...
1
vote
1answer
34 views

Problem with converting \frac into mathematica output [duplicate]

Please help me with the following problem: TeXForm[2/3] The Answer is correct: "\frac{2}{3}" I don't understand why ...
0
votes
1answer
23 views

WSMModelData[] can not find my model

I have something like this in my notebook (SystemModeler is not running): ...
5
votes
0answers
40 views

Why can't I abort main evaluation from ScheduledTasks (Service Link)?

FrontEndExecute[FrontEndToken["EvaluatorAbort"]] is equivalent of the menu item: Evaluation >> Abort. It works with ...
0
votes
1answer
46 views

How to plot and visualize a single linear vector in 3D? [on hold]

I have a vector (in physic) designated as F1=250cos(60)i+250cos(60)j+250cos(45)k, and i would like to see it in a 3D graphic with the axis centered at the origin, after what i would include other ...
0
votes
1answer
16 views

Size of the box using Manipulate function

I am using the following command: Manipulate[Graphics[Arrow[{{0, 0}, {a Cos[ω t], a Sin[ω t]}}]], {t, 0, 10, 0.1}] In order to display a vector in circular ...
1
vote
1answer
50 views
1
vote
2answers
52 views

How change style of InputField in a Manipulate?

Is it possible to specify a style, e.g., font size, for InputField type controls inside a Manipulate and if so, how? For ...
2
votes
1answer
49 views

Combining MapAt and MapIndexed

The very last example in the documentation for MapAt is: MapAt applies f repeatedly if a part is mentioned repeatedly: ...
1
vote
0answers
38 views

Mysterious message posted when I move the cursor in a custom function

I wrote a function called CPlot for complex plotting which is supposed to act a lot like Plot in its input format, but ever ...
-1
votes
1answer
37 views

Graphing a vector [duplicate]

I have a vector (in physic) designated asF1=250cos(60)i+250cos(60)j+250cos(45)k, and i would like to see it in a 3D graphic with the axis centered at the origin, after what i would include other ...
0
votes
0answers
34 views

Increasing CPU usage on Mathematica on a Product [on hold]

I hope someone can help me: I tried Parallelize, ParallelTry and others with AbsoluteTiming, and in every case the time was the same: what I have to do to calculate a Product in mathematica using all ...
0
votes
0answers
28 views
0
votes
1answer
36 views

Usb-harddisk and raspberry

Mathematica on raspberry. External media access. I have a usb harddisk, which is recognized by the system, but apparently not known to Mathematica. The disk is not seen when I try to open files from ...
5
votes
5answers
104 views

Isolating cross terms

I have a set of expressions that contains terms like $\frac{1}{(x + a + b)(c+d)}$. I would like to simplify the denominator so that products of $a,b,c,d$ are dropped, but $x c$ and $x d$ are kept. ...
2
votes
1answer
46 views

Build mathlink.pyd for Python on windows using Mathematica 10

Evidently, the mathlink Python extension has not been updated for some time. As shown below, it doesn't link to the correct libraries. Also, the API seems to have been updated while the mathlink ...
1
vote
1answer
35 views

How to separate linear terms by output?

I am performing a complicated summation in which fa is a Sum of a[j] over j, and terms in fa end up containing a BesselJ, a Hypergeometric0F1, or neither. ...
3
votes
1answer
170 views

Calling a dll from Mathematica

I would like to call the following function from Mathematica ps3000aOpenUnit PICO_STATUS ps3000aOpenUnit ( short * handle, char * serial ) I define the ...
1
vote
1answer
69 views

Force Mathematica to return numerical answer to (relatively) complicated differential function

I am trying to take the Laplacian of the LogDet of a 2x2 matrix that I call V\[ConjugateTranspose].V, and actually get a number out at the end. Why does Mathematica ...
2
votes
2answers
47 views
0
votes
1answer
68 views

In which condition releated to thee coefficients some equation has a solution

Please excuse me if the question seems to commonplace. Can Mathematica give a response to this question: In which condition related to the coefficients $c>0, \, n\geq 2, 0<p<1,\, a>c$ ...
0
votes
0answers
35 views

How to properly pass function as argument here? --> NMinimize & NIntegrate involved

I had a problem of a similar kind here which was solved. Now after changing a few things in my problem setting I am suffering from the following problem. Let me first introduce methods/functions that ...
0
votes
1answer
52 views

Apply function on 2d array [on hold]

I have a function taking three variables as arguments. I would like to apply it to several random values. So I first created a table of 3 by 10 random values using: ...
4
votes
1answer
385 views

Something interesting about Pi, but something seems amiss

I saw something interesting about text-analysis - bigrams - in Basic Text Analysis in Mathematica I wondered how the bigrams of Pi's digits might appear. As expected, take enough terms and every ...
0
votes
0answers
49 views

Low CPU usage. How to increase it? Should I?

I'm running a programme, and below are some graphics from the resources monitor from windows 8, while running my programme in version 9 of mathematica. Sorry for the foreign writings in the pics, but ...
0
votes
0answers
48 views

How to extract data points from an image of a log log plot? [duplicate]

I have a picture of a log-log plot, taken from a paper and I want to extract the data points so I will be able to plot them again along with results of my own solution. I would appreciate your help. ...
0
votes
3answers
66 views
0
votes
1answer
24 views

Force ReplaceAll to output vector of same length

I would like to do a replace in an expression... a = t; b = 1; a/.t->Range[1,5] (*returns: {1,2,3,4,5} *) b/.t->Range[1,5] (*returns: 1 *) but I ...
0
votes
1answer
50 views

Can't get solution to a system of recurrence equeations

I would be grateful if someone could help me with this problem. I define two series recursively, thus: ...
0
votes
1answer
35 views

Import of data from ODS

With SetDirectory["~/Downloads"]; ifile = "test.xls"; TimeConstrained[idata = Import[ifile, {"Data", 1}], 5]; I can achieve the desired result of importing the ...
0
votes
1answer
51 views

Equivalent parametric plots don't look the same

ParametricPlot[ {1, Tan[t]}, {t, -Pi/3, Pi/3}] ParametricPlot[ Sec[t] {Cos[t], Sin[t]}, {t, -Pi/3, Pi/3}] The second parametrization does not plot like the first, ...

15 30 50 per page