# All Questions

19 views

### CloudDeploy doesn't support greek letters?

Consider this simple example: CloudDeploy[Manipulate[Plot[μ Sin[x], {x, 0, 2 π}], {μ, -4, 4}]] It looks like CloudDeploy ...
46 views

### Notebook output in single place

I find that cell output below each cell terrible for organizational purposes. Is there another way to display the output of each cell?
53 views

### How to count the number of occurences of a warning messages in the current session?

After reading: How to count the actual occurence of a warning message in a Do loop? I wonder about a broader question: how to count the number of occurences of a warning messages in the current ...
29 views

### Showing Mathematica's dynamic UI in external Java programs

I want to run Mathematica from an external Java program and display an interactive app in my own Jpanel. Is it possible? When I tried using MathGraphicsJpanel, I am getting only the snapshot of the ...
47 views

### Using a pointer in NETLink

I am trying to use NETLink to control a camera exposure in our experiment. I have successfully connected to the camera and taken images. However, downloading it off the camera is trickier. The code ...
68 views

### DensityPlot is wrong

DensityPlot[( ArcCot[(2 y)/(1 - 2 x)] + ArcCot[(2 y)/(1 + 2 x)])/1, {x, -10, 10}, {y, 0, 10}] What it should look like: What it looks like:
22 views

### Help with Control+m shortcut

I am attempting to create a keyboard menu item shortcut using control + m. I have been successful at doing this however, I'm running into problems with this particular shortcut as it works about half ...
47 views

### Defining function from table [on hold]

I have a table of values of the form Table[{i1,j1}, {i2,j2}...] and I want to define a function like f[i] to take the values ...
51 views

### Plotting Solution Curves in a Vector Field

I am having trouble trying to plot solution curves onto a vector field for this certain ODE. I have tried plotting with multiple different initial conditions/ different constants however I keep ...
162 views

### SmoothHistogram inside Show doesn't respect plot range clipping?

You can try this for yourself. Run the following code a couple of times: ...
27 views

### elementwise operation with vector and matrix (“broadcasting”) [duplicate]

In languages supporting broadcasting, one can easily do elementwise comparison of a vector and a matrix. What is the recommended approach in Mma? For example, suppose I want to do a ...
101 views

### How do I get the ball to stop when it hits the ground?

1) I would like the graph to stop when the ball hits the ground (y=o). I have declared xmax, but have not been able to incorporate it into my code. 2) I would also like to include animate, where for ...
25 views

### Normalization of discrete Fourier transform not obvious

I'm trying to write some code (eventually in Fortran) to quickly calculate the Voigt profile using the convolution theorem. However, I ran into some trouble using the Intel MKL FFT library, so I'm ...
202 views

### Temporary variable not removed in Mathematica 10

Bug introduced in 10.0.1 and fixed in 10.0.2 In Mathematica 10, the documentation still states that a symbol with attribute Temporary will automatically be ...
634 views

### Is it possible to reference “self” from a pure function?

This would calculate the factorial of 6, if the "self" was the function itself. Is there something that could allow this? ...
67 views

### How to solve this example x^2=2^x? [on hold]

How to solve this? I don't know, and ask you )) $$x^2=2^x;$$
60 views

### How can I solve implicit function with mathematica?

I wish to solve the Implicit function given below ...
38 views

### Problem in DSolve solving [on hold]

I want to solve matric form diffrential equation in Mathematica. matric M,T,S are defined before DSolve and the code is given below but Matematica don't solve this equation. Please help me. ...
20 views

### Why am I getting this “recursion depth” error message? [on hold]

I am simply trying to use this command p[1,2][1]/.{p[x_,y_][m_]:>pp[x,y][m]} and I'm getting an error message ...
32 views

### How does levelspec work inside Position?

Please, can you explain the following feature of levelspec inside Position ? This code test=Range[5]; Position[test,x_/;x>2] as expected, gives ...
221 views

### Can't run Bash scripts from within Mathematica 10.1

I am working on Debian 8 (Jessie) and Mathematica 10.1 (64-bit) Home Edition. I have created a script named curl_fetch.sh. It contains the line: ...
126 views

### How to fix the number and length of vectors when using ListVectorPLot

I want to plot only the vectors that I specify in my list of vectors, and no more. ListVectorPlot plots many of them, namely plots the field extrapolating from my four vectors.I would also like to ...
28 views

### Get dominant terms in asymptotic expansion

I'd like to find the dominant terms of an expression given the conditions $x,y >> 1$: $c_0 y+\frac{y^2 \left(4 c_0^2 y - 12 c_1 c_2^2+y^2\right)}{24 x^2 \left(\text{c1}^2+\text{c2}^2+y\right)}$ ...
68 views

### How to count the actual occurence of a warning message in a Do loop?

I am running a lot of simulations to fit a model to randomly generated data. Sometimes the fitting converges properly sometimes it does not, but it will give you the fitting parameters anyway. I would ...
37 views

I'm trying to import all the tables on a website, this one in particular: https://aws.amazon.com/ec2/pricing/ For local files that are already tabular, ...
165 views

### What is the equivalent of FORTRAN 77 COMMON BLOCK in Mathematica?

I am in the process of converting a FORTRAN 77 program to Wolfram Language. I have several COMMON BLOCK statements in FORTRAN 77. My question is how to deal with them in Wolfram Language? My ...
54 views

### Determining the order of continuity (smoothness) of a function

Is there any method to determine the order of continuity of a function (just like an interpolant) over a given domain, or at least determine the continuity on a given order? For example, according to ...
26 views

### Modulus with TableForm [on hold]

I have the following TableForm : f_x f_y 20 12 43 98 I need to use Modulus -> 5. any help is appreciate .
128 views

### Button that starts an evaluation which is monitored with a progress indicator

I have a DynamicModule in which I which I wish to start an operation (actually import files) with a button. I would like to monitor the progress with a ...
53 views

Consider: ...
40 views

### How do I animate just one variable out of three inside Manipulate/Not show line until Animate?

1) In the following code, I want to Animate just the Elapsed Time (t) variable. How do I write an ...
28 views

### How to take something from DelaunayMesh and similar family of functions

I was looking at this question here and I tried the suggested idea by Anton Antonov to use DelaunayMesh It will look like this: ...
165 views

### Solve didn't give the right solution

I've got a pretty simple equation set here but I cannot seem to solve it correctly. ...
250 views

### Computing the first derivative in x, y ,and z

I have the following function: f:=x^3+yz+z^2x; I need to compute the first derivative in x, ...
44 views

### NSolve not working

I'm sorry if this is a dumb question, but for some reason NSolve isn't working for me. Here's what I'm trying to do. ...
32 views

### Application of lowpass Butterworth filter

I'm trying to design a Butterworth lowpass filter with a cutoff frequency of So far what I did is ...
67 views

### Switch x and y axis data in Mathematica? [on hold]

I have data in the following format: {{1, 100}, {2, 200}}. When I try to plot it with following code: ...
34 views

### How can I construct a string pattern from a list of patterns? [duplicate]

Is it possible to construct a string pattern from a list of strings? ...
54 views

### Mathematica nested loops [on hold]

I can write down the following Python code: for j1 > 2: time1 = i1 for i2 > i1: if j2 < 2: time2 = i2 break Purpose of the above code: ...
465 views

### How to extract points from a closed curve

OK, let's create a simple closed curve C0 = ContourPlot[x^2/4 + y^2/9 == 1, {x, -5, 5}, {y, -5, 5}]; and let's plot the corresponding points ...
107 views

### Parametric Plot on Surface of Sphere

I have a set of parametric equations in spherical coordinates that supposedly form circle trajectories. See below: ...
41 views

### Computation (or estimation) of an trigonometric Integral with a parameter

I am trying to calculate the following integral which contains a parameter. I have used the Integrate and FullSimplify using assumptions but Mathematica fails to produce an analytical solution. ...
77 views

### MapAt with Replace(All) causing kernel crash

Bug introduced in 10.1 and fixed in 10.2 I wanted to roll a function that works like /. but only acts on the very first match it encounters. ...
107 views

### How to create a documentation page for a given message issued by a (user-defined) function?

I want to create properly linked documentation pages dedicated to specific messages issued by my own functions inside a package, similar to those for messages of built-in functions like ...
71 views

### Activity indicators for slow Dynamic expressions?

With Dynamic and gui-constructs like Popup I always have a problem: when an expression takes a while to evaluate the Dynamic ...
41 views

### Numerically solve recurrence equation

I have the following recurrence equation ...
87 views

### What is the difference between GenerateDocument and TemplateApply[NotebookTemplate[

Edit 5. X 2015 I don't see any reason why that cell is evaluated. And I don't see how my opinion may change with small update of docs like suggested by support: I have not heard back from the ...
91 views

### A bug in Rasterize?

I plot a straight diagonal line and then simply rasterize it. Consider what happens (Mathematica 10.2 on Windows 7 x64): ...