# All Questions

109 views

### how do I can create a list of the first interval such as [-10+Sin [k], 10+Sin [K]]

A (k) =the closed interval [-10+Sin [k], 10+Sin [k]] How do I can create a list of the first 20 of such interval The find the intersection of the first 14 of them
157 views

### Minimizing a functional takes forever

I need help with minimizing a functional in Mathematica. I have a function $V(\xi)=\sum_{i=1}^\infty C_{3_i}J_0(\xi/C_i)+C_{4_i}Y_0(\xi/C_i),~~~\Sigma\leq\xi\leq\xi_1$, and want to find such ...
338 views

### Keyboard issues with Mathematica 9.0.1 for Linux [closed]

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 ...
213 views

I want to shade the area between the formula ...
200 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 ...
100 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: ...
220 views

### Mesh and ParametricPlot [duplicate]

Is this a bug, or something going over my head? When using the following code, nothing "special" happens: ...
203 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 ...
111 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. ...
87 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 ...
146 views

### Coordinates for multiple countries

I am trying to plot polygons for multiple countries, say "UnitedStates" and "Canada". US data is generated thus: ...
152 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 ...
843 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? ...
209 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 ...
94 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. ...
162 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? ...
316 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. ...
396 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 ...
240 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 ...
136 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: ...
467 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: ...
86 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: ...
169 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 ...
177 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}} ...
128 views

### Getting arrays of values out of Manipulate

More about getting variables out of Manipulate: If I execute the following: ...
289 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$?
266 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 ...
475 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 ...
109 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. ...
304 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 ...
102 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: ...
220 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 ...
3k 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?
133 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. ...
313 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 ...
153 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 ...
136 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 ...
227 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). ...
335 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: ...
88 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: ...
139 views

### BindEvent binding own function

I need to change property of window when button gets pressed. There are pretty enough examples on Wolfram's website, but all they bind predefined function "Print[]" and I have no problems with ...
210 views

### Modified ListPlot, how to speed it up

I use Mathematica almost every day for several jobs (computations, graphics, etc.). I admit that this software contains much more options (capabilities) than one user may need. Well, not always since ...
834 views

### List comprehension in Mathematica

Python supports a concept called "list comprehensions". Following is sample example ...
172 views

### Is wavelet a Nonlinear transform, or Not? [closed]

Is wavelet a Nonlinear transform, or Not? specifically, continuous wavelet transform with morlet function. I am studying behavior of a dynamic system, and it has nonlinear behaviour. can I employ ...
252 views

### Using a table to format a grid

Ok, I can't wrap my head around this because I don't know Mathematica well enough yet, so I'm asking for help, at least a direction to explore in. I have a Grid: ...
65 views

### ParametricNDSolve and ProcessEquations

I have a question regarding NDSolve`ProcessEquations and ParametricNDSolve. When using the regular NDSolve we have the option to divide the integration into the three steps ProcessEquations, Iterate ...
165 views

### How to convert long integers in the expression into the products of their prime factors via Mathematica?

I have many of the following expressions created by CForm of Mathematica: ...
1k views

### How to get list of duplicates when using DeleteDuplicates?

This might be easy, but can't find a way to use DeleteDuplicates to get also list of the actual duplicates. Example: ...