# All Questions

179 views

### Simulations with MonteCarlo and Autoregressive methods

I am trying to find the best-fit trend for my data. Here I just generated it but let's say I don't know my data trend at all. ...
257 views

### Displaying a locator that moves smoothly and updates some dynamic variables

I want to select a point on a graph and display a function of the coordinates value. Asking here a related question I learned to use Setting. Consider the example, where I display the coordinate ...
576 views

### Plotting a network or a graph with given coordinates for vertices

I'm new to Mathematica yet have coded a lot in MATLAB. Currently I'm working on a network simulation. My model is implemented in MATLAB, but I need to port it to Mathematica. Here is my question: ...
133 views

### Can you label an array by variables or strings instead of integers?

Is there a way to label an array by a variable instead of an integer? For example calling the array I[i,j] with {i,j} = {x,y,z} ...
40 views

### Nested For Loops that result in no output [duplicate]

I am sure that this is not the most elegant code you will have seen, but I am trying to loop through an expression to see if FultonHarrisn] produces any outputs ...
187 views

### Output to preserve dot product

I am fairly new to Mathematica and I am faced with a problem. I tried to search for the solution but it seems that I don't know how to formulate the short search request. I need to perform a matrix ...
320 views

### ListDensityPlot performance when scaling axes

I need to visualize 3D data having 200*200 data points. ListDensityPlot is a good candidate, but it seems to have strange performance issues. I created a small ...
3k views

...
464 views

### RecurrenceTable with a recurrence function of two variables

I have to calculate the cool down process of a regenerative heat exchanger. I solved the problem in Excel before, but now I want to do it with Mathematica. I want to create a table with the variables ...
852 views

### Writing data to a common file during parallel processing

I am executing a loop, and in each loop I have to store a parameter in a file. It is like ...
126 views

### Graphics updating from inside double-Fold-iteration within Manipulate

Normally, when using Manipulate[expr, controls, options], the graphics updating should be carried out at the very end of expr. But now I encounter a situation ...
557 views

### How to create custom Graphics primitive?

How to create custom Graphics primitive? It should have the following properties, resembling properties of built-in geometric figures, like ...
110 views

I am using Mathematica at work remotely from a computer in my building and I can edit notebooks by opening them from terminal via ssh without problem (a little slow if there is a figure with many ...
258 views

### Custom TransformationFunction in Graphics? GeometricTransformation::nonaffine error

There are many functions in Mathematica, which return expressions with TransformationFunction head, for example RotationTransform. Unfortunately, there is no ...
188 views

134 views

### Is it possible to use the global definition of a symbol as part of its new local definition set in a Block?

Consider the following expression: Block[{Print = CopyToClipboard}, doSomething[]] Now all calls to Print from ...
193 views

### Import variables from excel

I have an excel file I am trying to import into Mathematica. It is in the format of variables names in the first row of each column and then the data underneath. One of the columns specifies ...
648 views

### Slideshow export to PDF (landscape)

I am trying to export a slideshow presentation that I have created in Mathematica 8 to PDF in case I have trouble connecting my laptop to a projector for a talk I am giving. I have tried Save As, Save ...
278 views

### How can I prove an equation has a certain number of real roots?

I have this code ...
63 views

### InputField AutoSize Speed Issue

How do I have an InputField adjust to fill the remaining size of the window automatically? For example: Using the ImageSize ...
341 views

### City/Country Names by GeoLocation

How do I get the city and country names from the output of FindGeoLocation[] {lat, long} ?
130 views

### Retain required terms in asymptotic expansions

I am using Mathematica 8 to do lengthy asymptotic expansions for use in statistics. In particular I have $\lambda=\beta+\epsilon+\delta+\gamma+O(n^{-5/2})$ where the first term is of order ...
463 views

### Multi-dimensional integral in the complex plane with poles and essential singularity

I've passed the last week searching a way to numerically integrate this multi-dimensional integral in the complex plane at the poles and avoiding the singularity at z=0:  \oint_{C}\oint_{C\ auound\ ...
224 views

### Handling Overflow

I have a notebook which takes in a user-defined function and starting value and tracks the orbit of the particle under iteration of the function. The problem occurs when the user enters a starting ...
161 views

### Manipulating several values from the same interval

Some of my calculations depend on the choice of several values from the interval [-2, 2] (it is more or less interpolation of a fixed function using the points as parameters). I want to create a ...
857 views

### How could I define a function as the solution of equations in Mathematica?

I have posed a specific question yesterday but it may be too trivial to answer. I think the question could be asked in a more general way so it is easier to answer. Then I could solve the original ...
285 views

### StringReplace except some pattern

StringReplace and search out of one pattern ...
140 views

### Working precision for each variable

How can I define working precision for each variable individually for example: Maximize[x y< 100, {x, y}] where the working precisions for ...
199 views

### Module Returns Two Values for Plot; I need to Color them

This is probably a very stupid question, but I've been fighting with it for quite awhile now. So suppose you have a module: ...
185 views

### Error in ARIMAProcess example

I am trying to compile the sample of ARIMAProcess of MMA here .It doesn't work.What is wrong?Could you please help?I am using exact same code. ...
907 views

### PlotStyle in ListPlot: change color scheme, manually choose color of first plot

Say i have this data: data1 = Map[Cos, Range[0, 20]]; data2 = Map[Sin, Range[0, 20]]; And i want to plot data1 in gray and a ...
87 views

### How can I transform parts of an Integer list to a String list

There is a sorted list of Integers. ilist = PadRight[Sort[ RandomSample[Range[1, 99999], 3], Less], 5] It should become string area codes like: ...
152 views

I have ...
133 views

### Difference between vector's Dimensions

What's the difference between projection= Table[Conjugate[autoVett[[k]].someVector1], {k, 1, r}] Dimensions[projection] that gave me as results ...
168 views

### How can I change the highlighting color of an InlineMathCell?

When using the InlineMathCell one types Ctrl+9 within the text cell, and gets a slot for starting typing the InlineMathCell part. When typing the content of the InlineMathCell is slightly highlighted ...
105 views

### Split one string about a fixed width with SyntaxQ=True

How to split one string about a fixed width, the string may come from the input or output cell of Notebook. sample string ...
153 views

### Plotting a pattern made of repeating unit blocks but of changing width

I am plotting a pattern as illustrated in link shown below. I want to create an image of fixed size. The whole image should be filled by repeating unit blocks which consist of black and green ...
506 views

### How to embed an image into a string?

Note: The bug described in the post is in Mathematica 9, and has been fixed in 10.0. The documentation for String contains the following statements: Strings ...
671 views

### How to draw a Circle in a graph with Log Y Scale

I've programmed drawing tools for graph images and am experiencing a problem with the coordinates of an Ellipse on a graph with a Log Y axis. It's quite easy to work out the Y Axis coordinates for ...
687 views

### Expression of uncertainty in measurement.

I have a problem with writing a Mathematica function. I have been requested to show the results of my experiments with the measurement uncertainty (mu) like below: ...
184 views

### Non linear constrained interger Optimization

I need to maximize the equation below which is subjected to some nonlinear constraints Maximize hsum + isum + jsum + ksum + lsum + msum + nsum + osum ...
301 views

### Interpolating function as a model in Mathematica's procedures for fitting

Is it possible to use interpolating function with parameters as a model for NonLinearModel fit (and other integrated methods for fitting)? Similar question was already posted earlier - How do I find ...