5
votes
0answers
457 views

Wavelet Transform Modulus Maxima (WTMM) method

Has anyone already coded the Wavelet Transform Modulus Maxima (WTMM) method for computing the singular spectrum using multi fractal formalism in Mathematica? The goal is to analyse 1D, 2D and 3D ...
1
vote
0answers
34 views

FindIndependentEdgeSet behaves differently in v9 and v10

The following code gets different output in v9 and v10. ...
0
votes
2answers
530 views

Unknown option LegendPosition (even after Needs[“PlotLegends`”]) (Mathematica 10.0)

I'm running Mathematica 10.0 for Students. When I tried ...
0
votes
3answers
185 views

ListPlot3D not working for very small numbers

I have defined a function FreeEnergy[x,y], which I want to plot in 3D. It is a function involving numerical integrals. When I make a flattened table ...
0
votes
1answer
299 views

Drawing an dodecahedron with vertexes at given coordinates

I want to draw an (edit)dodecahedron with the vertex in the following coordinates: ...
9
votes
0answers
212 views

Mathematica and POV-Ray workflow: ListContourPlot3D

I have the following function describing a molecular electronic Orbital. ...
1
vote
1answer
164 views

NDSolve`Reinitialize start from previous solution but with different boundary conditions

I am solving a set of coupled partial differential equations (some variation of a 1 dimensional compressible fluid flow). I want to solve the equations (NDSolve, this works fine) but then continue ...
0
votes
0answers
35 views

How to fix the PlotRange on LogPlot? [duplicate]

I'm plotting families of Boltzmann'esque distribution functions $\propto\exp\left(-{\dfrac{\varepsilon+{\mathcal O}(\varepsilon^2)}{k_\mathrm{B} T}}\right)$. But it won't let me fix the ...
12
votes
2answers
319 views

What does IndexBy do and how exactly does it work?

I just saw the function IndexBy in the autocomplete suggestions and I was curious to know exactly how it works. Unfortunately, there's no trace of it in the ...
0
votes
1answer
107 views

Operator product

I have this problem: I define the gradient operator as: gradiente = {D[#, x] &, D[#, y] &, D[#, z] &} Now, if I want to apply the operator on a ...
8
votes
0answers
137 views

What is stored in FrontEnd memory?

I quit the kernel, and closed all notebooks, leaving only the startup window. Yet when I open a new notebook, MemoryInUse[$FrontEnd] reveals that the FrontEnd still ...
2
votes
2answers
90 views

How to get the number of entries of histograms in the legend?

I plot three histograms (originating from a large Dataset ds) in one graph ...
1
vote
0answers
79 views

import file from directory using sftp

I want to import a file from a directory on a ftp using sftp. I'm not sure how the command looks, but here is what I have tried (based on this older post): ...
2
votes
2answers
195 views

Overdetermined System of PDEs

EDIT: Just to clarify a large part of my question is whether there is a way to make Mathematica solve a system with more equations than independent variables (so a system that is overdetermined but ...
1
vote
1answer
124 views

Help with plotting and improving code

I'm trying to solve a coupled DDE. Here is my code ...
2
votes
3answers
212 views

How to make a symbolic vector into a pure function?

As part of a set of functions to implement a steepest descent algorithm I created my own n dimensional gradient function. It is defined as follows: ...
1
vote
1answer
819 views

Fitting a Damped Sine to Data

I have some collected data that should be modeled by a damped oscillation. Here are the data in a list of ordered pairs: ...
1
vote
1answer
43 views

Using MatrixForm in a Manipulate

I have declared some lists vAwG = {{{0}, {0}}, {{1}, {1}}}; psi = {0, 1, 2, 3}; vBwB = {{{1}, {0}}, {{0}, {1}}}; and created a function ...
1
vote
1answer
71 views

Variables input generation for Minimization in High dimensional space [duplicate]

I'm currently doing optimization in a high dimensional space. I was thinking of giving FindMinimum (or NMinimize not certain ...
5
votes
2answers
268 views

Calculating displacement for a circular disc

I have to calculate the difference in diameter of two concentric circles. The image is obtained from an experiment and the data looks like this. The length required is the value of l as marked in ...
1
vote
1answer
104 views

PNG image is exported smaller size than imported

I upload a PNG file and then split it into its red, green and blue components. I then save these components. The original image is 1440 x 764 pixels, 2.21MB. But the 3 saved files are each 360x198 ...
1
vote
2answers
101 views

How to export many images within a For-loop [duplicate]

I'm trying to export a lot of files at one time with a For-loop. I'm using ToString so I can number the output files. It's not working. Does anyone know how to ...
2
votes
2answers
156 views

Updating Manipulate output from within a Button

Consider this (edit: Pause[3] represents some long computation the button should do): ...
1
vote
1answer
116 views

Creating/placing Mathematica cells anywhere

I am interested in making powerpoint-like slides using Mathematica. The most appealing thing about writing documents in Mathematica is that it is so easy and quick to type complicated formulas with ...
15
votes
2answers
349 views

Align stars in multiple images

I hope that you find this question interesting and that this will help others with similar problems as this configuration is not so particular. My problem I have multiple images of a particular ...
1
vote
1answer
138 views

Problem with NIntegrate over a user-defined region

I define a region as follows: ...
1
vote
1answer
135 views

Perceptron: Do loop not returning a value

I am trying to write a function that finds a simple best fit line for some data (Perceptron algorithm). Sadly it returns no output at all. Here's the code below: ...
1
vote
2answers
91 views

Finding roots of a function with a varying parameter

So I'm brand new to Mathematica, and basically what I want to do is find the roots of a function at varying time intervals. The function I'm using is: ...
10
votes
5answers
438 views

How to randomly select subsets

I have a list of around 300 elements. I want to sample subsets of length 25 such that my samples are all distinct. My first inclination was to use something like ...
5
votes
1answer
372 views

Obtaining an NIntegrate error estimate

Is there a way to extract the error that Mathematica estimates when calculating a numerical integral using NIntegrate? Internally Mathematica must keep track of ...
0
votes
1answer
82 views

problems with wstp32 (WSTP / mathlink)

I've been recompiling old mathlink programs in Visual Studio 2013. No major problems so far until I got to a program that is seemingly similar to the others but that fails dramatically in the linking ...
1
vote
1answer
102 views

Unit System documentation

Is there any documentation on what consists of the unit system "SIBase","Imperial", "SI" and ...
6
votes
1answer
131 views

Saving memoization to disk

I like using memoization (i.e. the construct myFunction[x_]:=myFunction[x]=...) when I have a heavy function that I need to re-evaluate on the same arguments. ...
4
votes
3answers
239 views

Using Block with a list of variables

I have a list of variables var={v1,v2}; which I want to protect/localize during a particular operation. I have decided that I want to use ...
1
vote
0answers
101 views

Implementation of Lubaehevsky-Stillinger Algorithm to pack hard spheres

To generate a model of a polycrystalline material with specified grain size distribution (e.g coming from a Monte Carlo Grain Growth simulation) the Paper "Effects of grain size distribution and ...
0
votes
2answers
164 views

Is there a function that filter positive values x = f(x), and return zero for all negative values? [closed]

I'm searching for f that will comply this definition : x = f(x) where x is natural >= 0 0 = f(x) where x is natural < 0
2
votes
2answers
224 views

Adding map to 3D plot?

I've made a 3D plot of a pressure surface over the region 160W-20W, 20N-80N - the right panel and I would like to put a map under it, probably just continental outlines for simplicity. I'm just ...
0
votes
1answer
130 views

Problems with the plot of a function. [duplicate]

For some reason the result of Plot of the following function: ...
0
votes
1answer
77 views

Interacting Dynamic Components within LocatorPane

I am attempting to create a dynamic contour plot of an ellipse with two locators as the foci within a locator pane. The following code has been implemented: ...
0
votes
1answer
83 views

Variable change

If I have the following Hamiltonian: ...
0
votes
1answer
107 views

NIntegrate vs. summation

I' m interesting in distributions of points on sphere, plane figures etc. Especially for small number of points: 1, 3, 7, ... It seems that good criterion for uniformity of distribution is some ...
0
votes
1answer
76 views
2
votes
1answer
88 views

Export a Pyramid to VRML format

How do you export a Pyramid to vrml format in Mathematica ? I have been trying to do this the following way ...
3
votes
2answers
96 views

Slow application of `Outer` on a matrix

I have some performance issue with the calculation of a gaussian kernel applied to a not-that-large dataset. I'm not very good with performance tuning in Mma and I have the feeling this one could be ...
2
votes
1answer
112 views

Plot with two LabelStyle

I need to plot a graph using two different colors for the axis labels. Not working example: ...
6
votes
2answers
215 views

There is an issue with Manipulate in which it updates its argument twice in V10

I have asked this question before (here) and I thought that the issue is only when moving the Notebook window. It appears that Manipulate is working in weird manner. ...
2
votes
1answer
177 views

Export Multiple Arrays Into a Single Worksheet with Column Headers

I'm importing financial data into Mathematica, creating column headers for each array and exporting to Excel. The code below accomplishes most of this, but it creates a different worksheet for each ...
3
votes
1answer
161 views

Mysterious spikes in Plot3D

I am using Mathematica 9 and get these strange spikes when I plot the following simple function. I have seen a previous post about this but cannot figure out what is wrong with the following code. ...
1
vote
0answers
68 views

Errors when thickness is reduced solving 2D cylindrical heat conduction equation

I am trying to solve the heat conduction equation in cylindrical coordinates with a defined heat generation within the volume (a thin disk, with different heat flux BC top and bottom). The problem is ...
2
votes
1answer
222 views

How to plot on complex plane with Mandelbrot set

I essentially want to treat the Mandelbrot set plot as a normal plot so that I can plot arrows and points on top of it. This is what I want to do but it gives me an error: ...

15 30 50 per page