# All Questions

33 views

### Keyboard issues with Mathematica 9.0.1 for Linux

After working for a while with Manipulate function and increasing the number of variables to be manipulated, keyboard stops working properly in the Notebook. It ...
109 views

I want to shade the area between the formula ...
105 views

### Asynchronous evaluation on EventHandler

How can I make this progress bar appears when I press Enter? The Button Evaluate works just fine, but when Enter is pressed it jumps the progress bar. It would be ...
57 views

### Evaluating terms in series

I'm trying to evaluate a simple expression: Subscript[λ, n] = (2 n - 1) π/(2 L); And then sum it up: ...
96 views

### Mesh and ParametricPlot

Is this a bug, or something going over my head? When using the following code, nothing "special" happens: ...
87 views

### How to make a piece of a pie chart change color upon clicking it?

I am trying to use the EventHandler and have managed to make the text change color upon clicking it, but cannot seem to make each piece of the pie chart change ...
72 views

### Solving NLODE with substitution

I am trying to get a solution to a non-linear ODE, below is the code that works for my problem. ...
33 views

### Setting individual CellContext for each notebook loses autocomplete suggestions

I'm running Mathematica 9.0.1 under OS X. In order to have separate contexts for each of my notebooks, I used the instructions in the last part of the accepted answer from the following link: Is ...
77 views

### Coordinates for multiple countries

I am trying to plot polygons for multiple countries, say "UnitedStates" and "Canada". US data is generated thus: ...
138 views

### Append new simulation into CDF without resetting current simulations

I need to duplicate a simulation inside one DynamicModule. I believe it's simpler to understand using an toy example. Here is the start screen: Now if I play ...
64 views

### How do you calculate the curl of a function? [closed]

Something very simple but can't seem to do it. I am trying to find the curl of $\vec{F}(x,y)=(2x-y)\hat{i}+(x+3y)\hat{j}$. How would you do this? This is what I tried: ...
303 views

### How to plot a figure like this

I saw a beautiful figure illustrating the optical lattice clock, and would like to make a similar one. This is the figure (taken from here) Is it possible to make a similar one using Mathematica? ...
122 views

### Pasting monospaced text into Mathematica notebook destroys aligment

I drew the little ASCII-art electronics schema below in vim. When i try to paste it into a Mathematica notebook, with: A) A code cell B) A monospaced font (Courier New) Mathematica insists on ...
30 views

### list plot for points [closed]

I have a function varying in mass varible as 1000 - 1500-2000, etc, I made a list of the values of this function for these values of mass but when I plot by mathimatica by ListPlot it appears some how ...
39 views

### Issue with DateListPlot and Dynamic List

Imagine that we are getting readings from an external device (ie Arduino) at a given interval of time. We'll simulate the reading as follows. ...
72 views

### getting Mathematica messages in .NET

For example, equation Sin[10*x]-Log[x]==0 can't be solved by NSolve. Mathematica returns message "NSolve::nsmet". How can I get messages in my c# program? ...
84 views

### Fitting one function to another

I'd like to see how close I can fit an exponential function to a cosine function in the domain of $\;-\frac{\pi}{2}$ to $\frac{\pi}{2}$ in the least squares sense. ...
56 views

### LPC Analysis of speech signals

I am looking fo a Mathematica function to perform LPC analysis on speech data. I am currently creating a worksheet to analyze speech data parameters which will be inputs to a HMM to determine vowel ...
84 views

### ContourPlot3D for a 3D vector contour plot

The procedure ContourPlot3D allows plotting the contour lines of the components of a 3D-vector. The problem is I don't know how to give the contour planes of each ...
94 views

### Cut out circle out of circle

In the documentation of FilledCurve, one can create a circle "cut-out" of a bigger circle using FilledCurve and ...
53 views

### Show generalized model and link function

Given a probability function: f[y_, j_, k_] := Sqrt[j]/Sqrt[2 Pi] Exp[Sqrt[j k]]/Sqrt[y] Exp[-(1/2) (j y + k/y)]; Let $Y_1, \ldots, Y_n$ be independant ...
88 views

### Assign one button to two variables

I am trying to use the one button to assign to two variables. Here is an example of how I want it to work. expression: ...
200 views

### Can Mathematica determine part-of-speech for each word in a text?

I've found that WordData has a database of English words and their possible parts of speech. But some words are ambiguous, e.g. result can be a verb or a noun: ...
58 views

### Minimize amount of evaluations with fold/table/thread or something else

I can't figure out how to use fold/table/map/distribute or whatever to get this: ...
111 views

### Algorithms used by Mathematica [closed]

Is there a way of finding out the algorithms that Mathematica uses to perform certain functions?
17 views

### What does double vertical-line means in linear algebra? [migrated]

I have a formula, which I have no idea how to solve, because I don't know that double vertical-line sign: ||Ax|| What does it mean? How should I solve this?
46 views

### Hide input with multiple output cells

I want to hide my input, but not with "close cell". i also want to have fast access to the input cell. i found Mr.Wizard's AutoCollapse function, but it doesn't work with two or more Print-functions ...
121 views

### plot an exponential statistical function

I have this exponential function, where j is unknown. How can I plot the variance function for $k= 0.1, \; 1, \;10$ f_{j,k}(y)=\frac{\sqrt{j}}{\sqrt{2 \pi}}e^{\sqrt{jk}}y^{-\frac{1}{2}} ...
65 views

### Getting arrays of values out of Manipulate

More about getting variables out of Manipulate: If I execute the following: ...
51 views

### How do you express a function of x,y,and z as a function of the parameter t in a vector?

If I have a vector say for example $\vec{r}(t)=<t,t^2,3t^2>$ and a function $f(x,y,z)=\sqrt{1+30x^2+10y}$ whats the best way to express $f(x,y,z)$ as a function of the parameter $t$?
89 views

### How to embed a Mathematica demonstration in Google sites?

I want to have students submit articles that include Mathematica demonstration projects in a document that is on Google sites. I am having problems with embedding the JS code. Could you provide ...
272 views

### How to use Map inside MapThread?

Given this input lst1 = {{a, b, c}, {d, e, f}}; lst2 = {1, 2}; and the goal is to generate this output ...
65 views

### When I use the Labeled command my graphics shrink

My first post regarding this matter was not well formulated so hopefully I have done a better job of reformulated my question here. The following code works well as far as it goes. ...
118 views

First, the main reference is the thread Linking FORTRAN with Librarylink, which teaches how to make the link between a FORTRAN subroutine and a Mathematica code, by using Librarylink. This must done ...
51 views

### Transformation of the NDSolve result into new dependent variables

I have solved a set of coupled differential equations and now I need to convert them into different dependent variables and sketch their trajectories. Here is the code I have written so far: ...
55 views

### Exporting SmoothHistogram plot data

My program produces a large data set, which is distributed by some unknown function. I've used SmoothHistogram to visualise it crudely as a probability distribution ...
225 views

### Is there an equivalent to MATLAB's linspace? [duplicate]

Does Mathematica have an equivalent to Matlab's linspace? I want to make a list with "start", "stop" and "number of points". What is the neatest way of doing this?
72 views

### Numerical integration of Hankel functions

I would like to know how to perform numeric integration for the following type of integrals in Mathematica. For the following integrand, we can not get the symbolic result. ...
96 views

### How can I find the Taylor Series for f(c) about (c^2-S^2) in mathematica [closed]

How can I find the Taylor series for f[c] about (c^2-s^2)in Mathematica. ...
159 views

### How to parallel the computation tasks according to machines instead of kernels

On a HPC, there are many computation nodes, each node corresponds to an independent machine. Every node has several cores, for example 8 per node. Mathematica can launch remote kernels on different ...
57 views

### Mathematica to swf / fla

Is it possible to export an interactive (in terms of mouse clicks) Mathematica manipulation / animation as an interactive swf file, including converted actionscript? I realise this is probably not ...
87 views

### General ways to help understand code [closed]

Many times you see a code and you want to understand what is going on behind. Often it makes it simpler to divide the code into steps to get the understanding. However there are times when this does ...
58 views

### Shading using VertexNormal changed when combining graphics3D andy ListContourPlot3D with Show

I want to combine some ListContourPlot3D and Graphics3D to present, on one 3D plot, the projection of the contour plots on each ...
80 views

### How to represent very long integers with at-most-8-digit(base-10) short integers with * and +

I need an algorithm in Mathematica, which can represent any very long integer, prime or not, into the the product operation "*" and sum "+" forms by short integers (not more than 8 decimal digits). ...
214 views

### Compute ratios of elements in two lists

I have two lists, say a and b, both of length n. I'd like to compute the following: ...
50 views

### How can I generate a variable-length list of options in PieChart?

I would like to allow a user to manipulate the segments of a pie-chart, which is to be generated from a list of a specific format. The code looks something like the following: ...
32 views

### Inputting a table into the model for NonlinearModelFit

I am working with a model function that is a fairly complex triple integral that takes Mathematica a decently long time to integrate (around a few minutes to do the integral 100 times with different ...
39 views

I am trying to recreate the first squarefree plot on this Mathworld page. I have downloaded the Mathematica notebook and tried to run the code, to find that ...