# All Questions

117 views

### Pure function in Nest

I can't figure out what I'm doing wrong here: Table[Nest[# + 0.1 * -i * #^2 &, 2, 1] , {i, 0, 0.5, 0.1}] (* {2., 1.96, 1.92, 1.88, 1.84, 1.8} *) The problem ...
273 views

### Slow Open Dialog user Interface in Mac OSX Mavericks

The other day I noticed an interesting problem with Mathematica on the Mac. When I'm in the Mathematica application and try to open a mathematica file with the "Open" option of the file menu the open ...
67 views

### Georeferenced bitmaps

The command Export["filename.jpg", graphic] will export the graphic object graphic to the file ...
325 views

### Find the best parallel lines to a given data set

I have a set of data in an uptrend. I would like to find two BEST parallel lines to contain all the data but I don't know how to approach it, anyone can help ? Thanks.
795 views

### Scheduling Mathematica scripts to run from a command line [duplicate]

I want to run Mathematica "jobs" on a daily/weekly basis to do system maintenance and as part of daily processing operations. What is the best way to do this?
590 views

### How to split list into disjoint lists?

I wonder if there is any simple way to split a list into its disjoint sublists, e.g. from list={{a,b},{e,f},{b,c},{c,d},{f,g,h}} get a result ...
111 views

### Manual CellGrouping option causes crash at cell evaluation

Update: Try to reproduce this behaviour with CellGrouping set to manual. To do that: either evaluate ...
957 views

405 views

### How to automate Mathematica scripts? - I [duplicate]

I would like to use the Windows Task Scheduler, or Visual Cron, to start a Mathematica notebook or .m file to do some system maintenance tasks: copy files from one place to another, etc. How do I set ...
1k views

### Find the number of nonzero elements

How do you find the number of elements in a matrix that are non-zero. For instance, the following matrix has 5 nonzero elements. ...
366 views

### How does Mathematica find a series expansion of expressions containing logarithms when there is a singularity at the expansion point?

I am looking for a good approximation to a function containing logarithms, especially at values close to zero. When I used Mathematica's Series command I found ...
261 views

### How to construct a graph from a list of edges

I have a list of pairs of numbers, representing connections between objects in the real world. Each number is the identifier of an object, there are gaps in the range from the smallest number to the ...
163 views

### Getting new symbols into Mathematica

What is the easiest way get new symbols into Mathematica 9? For example I want to be able to write the Symbol \mathfrak{A} that you have in Latex. I know that ...
229 views

### Isn't it possible to Pack a SparseArray?

I have the following matrix Va: ...
41 views

### Manipulate freezing on large calculations [duplicate]

I have a sum that ordinarily takes some time (2 - 3 seconds) to calculate. When I put it into a manipulation though, it becomes very temperamental. It will work on some very small calculations, but ...
234 views

### Manipulate with formatted output

I would like to have 4 output fields for something like the following: Manipulate[ n*x n/x n + x n - x, {n, 1, 10}, {x, 1, 10}, ControlType -> InputField] but ...
118 views

### Opposite function to Normal

Is there any function opposite to Normal? For example, let as say that I have an SparseMatrix A, then, let as say that for convenience for a certain operation like Packing, I convert it into an Array ...
452 views

### Drawing an arrow pointing at the “Enable Dynamics” button

Sometimes my students are given Mathematica notebooks as part of an assignment, and asked to go through some demonstrations contained in the .nb file. A lot of times I get complaints that the "graphs ...
333 views

### Plot a cone in spherical co-ordinates

As we all know in spherical coordinates a function phi = π/3 gives us a cone. The cone makes an angle of π/3 with the imagined ...
303 views

### How can I create an interactive application that accepts data and and plots it?

I have some code in Mathematica which shows a colored plot, where the coloring depends on data values. I would like to make this into an interactive application that accepts two inputs: data, a list ...
131 views

### How to apply compiled function on list

Compile function output error: How to apply compiled function on list? ...
671 views

### Inverse Laplace transform not obtained

I can't seem to be able to compute the inverse Laplace transform of a Laplace transform: ...
561 views

### How to find the vertices of a regular tetrahedron? a dodecahedron?

My question is: how to find the coordinates of the vertices of regular tetrahedron and dodecahedron? I tried to find the coordinates of the vertices of a regular tetrahedron as the solutions of a ...
103 views

### WeatherData function problem: “NonMetricValue” returns undated list of values

In the WL example below, WeatherData[] returns an undated list of values when I add the annotation "NonMetricValue." ...
45 views

### Mathematica how to plot objects with labels in 3D plot [duplicate]

The following code plots 3 cuboids, each with a label at the lower left vertex. The label is meant to be part of the cuboid object. Yet, since Text[] is used to ...
308 views

Update Using ...
662 views

### Arnold's problem #8

The famous Arnold's problems (see http://www.math.upenn.edu/Arnold/Arnold-Trivium-1991.pdf ) are aimed at the strong graduate and postgraduate students of the top universities. I find it remarkable ...
379 views

### What is missing in this Mathematica Journal Article?

So I had been looking to solve a little tiling problem and Google turned up this Mathematica Journal Article and I noticed the code was both incomplete and incorrect, so... My Question is, What is ...
173 views

### NonlinearModelFit with multiple parameters

I am now trying a slightly more complicated model which actually consists of finding the parameters of 2 particles in an Image (I attached an Plot of an image). Although I put very good initial values ...
410 views

### How can I solve my system of two simultaneous equations?

How to solve the system {b - a*Sqrt[a^2 + b^2 + 1] - a^2*(a*b - Sqrt[a^2 + b^2 + 1]) == 0, a - b*Sqrt[a^2 + b^2 + 1] - b^2*(a*b - Sqrt[a^2 + b^2 + 1]) == 0} ...
93 views

### Convert Integer to Numeric with Replacement rules

I have a long list of triples, each looking something like {AGO, 1988, 2345.23}. Some of these, however, have an integer in the third spot, like this: ...
97 views

### What are the limits of the Prime-functions? [duplicate]

Will Prime and PrimePi test up to 3 * 10^12? Where can I find the limits for these funtions? ...
2k views

### Clustered and Grouped Bar Chart in Mathematica v8.0

How would I create a clustered and grouped bar chart that looks like this (which was painstakingly created using Excel)? I have seen examples for Mathematica v6.0 but none for Mathematica v8.0. The ...
86 views

### is there an option for FitResiduals in FindFit?

I know this option exists in NonlinearModelFit and probably in other fit models as well but for some reason the best result i get is with FindFit. Regards Doron
268 views

### Call Haskell from Mathematica and return the results inside Mathematica

I would like to learn Haskell using Mathematica's environment. I know there is the RLink protocol. Is there a similar protocol for Haskell?
471 views

### Suppress warnings in ParallelTable

I'm using ParallelTable to evaluate a function that involves NIntegrate. There are a lot of ...
392 views

### Numerical instability in cosh and sinh - integral functions [duplicate]

I'm trying to calculate the function: CoshIntegral[x] Sinh[x] - Cosh[x] SinhIntegral[x] Unfortunately Mathematica seems to hit a point (x~20) and things become ...
85 views

### Slider moving in irregular steps

Sorry - bit of a yes/no question: Is it possible to make the slider from a manipulation jump in irregular steps? Or would the best way to overcome this be to just create a series of buttons that jump ...
144 views

### Make the y-axis of a plot be in terms of an arbitrary parameter instead of a number?

Sorry if the title is wordy. Basically what I am asking would probably be easier if I just use an example. Say I wanted to plot f(x) = Asin(x) and have the graph come up with the sine function, and ...
317 views

### Mathematica: How to create a function that returns a property similar to how LinearModelFit works?

I'm trying to write a custom function in Mathematica, myFunc[x]. I want to be able to define properties of the function so that the user can call ...

15 30 50 per page