1
vote
2answers
112 views

How can I reshape my solutions to make a 3D plot?

I need some help on the following. I need to run Solve for multiple values of a and b. To do so instead of using Do, I use ...
2
votes
2answers
106 views

Dynamic arrays and lists with compile (Append, Linked lists etc.)

I have a code that I need to compile. The code contains a loop in which I need to gather data into a list. The question is how to best gather data so that the code works inside Compile. The following ...
1
vote
0answers
44 views

FrontEndObject::notavail: error when using math

I am new to mathematica script and thus I don't know whether this generated error is natural or not. When I write a command such as echo "3" | math in the ...
4
votes
0answers
53 views

Trouble understanding TrackedSymbols

While developing a relatively complex demonstration for Manipulate I encountered the problem that my output was unintentionally self-updating in an endless loop. ...
3
votes
1answer
187 views

How can i subtract a surface from another

I have one surface which i got with using analytical solution. And one by ListPlot3D. My question is how can be withdrawn from the one from the another. ...
7
votes
2answers
138 views

why MeanFilter is nearly 100 times slower than MovingAverage for 1D array?

I used to average over my data with MeanFilter before I learn about MovingAverage and thought that these two functions are similar except that MeanFilter is more powerful for its ability to deal with ...
7
votes
1answer
68 views

Applying a texture to part of a sphere

I am trying to texture a sphere with a picture of myself. I don't want it to be stretched across the whole sphere but only to appear on the front. I used ...
11
votes
1answer
158 views

Mathematica 10.1.0.0 (OS X) high CPU usage even for empty notebook

Since update to 10.1.0.0 Mathematica has a high CPU usage even when no evaluation is running (even for empty notebook opened). I am running OS X Yosemite 10.10.3 on the following configuration: ...
3
votes
1answer
180 views

How to draw a tropical surface?

By definition, a tropical surface in $\mathbb R^3$ is the set of points $(x,y,z)$ where the maximum $f=max(f_1,f_2,\dots,f_n)$ is attained at least twice, here $f_i$ stand for some linear functions of ...
0
votes
1answer
155 views

n-fold convolution

I am trying to calculate n-fold convolution of a function as $G^{*n}(x)$ where $G(x)=1-a*exp(-b)+b*ln(b)$. I tried this function, Convolve[G[x], G[x]^{n - 1}, x, x] but it didn't give any answer. ...
0
votes
0answers
23 views

STL exports as flat rectangle

I have this code to graph a 3D surface and fill it to the axis: ...
0
votes
0answers
17 views

How can I get the 1-ring neighbor of mesh triangle?

I have an .obj file. I import it into my mathematica and get the vertices and also triangles as follows: ...
10
votes
2answers
170 views
1
vote
1answer
53 views

How to list plot data where the slope determines if it is plotted from a list of data?

I am trying to listplot data from a list of data where the slope of the curve determines if it is plotted. Example: Lets say the data measured is of the form x^2. I measure this data multiple times ...
59
votes
2answers
9k views

Is there an open source implementation of Mathematica-the-language?

I've seen questions before such as "What is the best open-source equivalent for Mathematica?", but that specific question (and that line of inquiry in general) cares more about the computer algebra ...
1
vote
0answers
33 views

How to make a widget float?

Is there an option or way to make a GUIKit window remain in on top of other application's windows? ...
0
votes
1answer
29 views

What is Duration in MonitorLM output?

What is duration specified in MonitorLM output? Is it start hour and minutes or is it total number of hours and minutes used?
-2
votes
1answer
33 views

Use two functions for x and y coordinates for a plot [on hold]

I try to make a plot out of two functions. It is a cycloid I want to plot. These are my two functions: ...
2
votes
0answers
40 views

Optimization of custom probability distibutions?

Consider the two tests: Timing[Do[RandomVariate[NormalDistribution[0.5, 0.3]], {200}]] {0.001188, Null} ...
0
votes
1answer
29 views

Replace parts of nested lists

I have list of stock data as follows: lis1= {{{1992/10/12, 126.946, ^AEX}, {1992/10/13, 127.85,^AEX}}, {{1992/10/12, 88.487, ^AFLI},{1992/10/13, 91.825,^AFLI}}} ...
0
votes
0answers
47 views

How to replace a part of array based on certain rules which involves usage of other array

I am trying to replace outermost column of array "fd" in below code. fd is matrix of dimension (nas1,nts) which is initially filled with 1. I want to replace outermost column of fd with result of Max ...
2
votes
2answers
62 views
1
vote
3answers
82 views

2D Interpolation of data file

I hae a datafile with 5 columns of the structure: x_i f(x_i,y_1) f(x_i,y_2) f(x_i,y_3) f(x_i,y_3) f(x_i,y_4) with i = 1 to about 100. Thus there are about ...
6
votes
3answers
225 views

List and patterns

Given some tuple $\{N,M,L\}$ such that $N\geq M\geq L\geq 0$ and $N>0$, how can I generate all tuples $\{n,m,l\}$ such that $n\geq m\geq l\geq 0$ and such that ...
0
votes
0answers
22 views

Convert the output of solve into equality [duplicate]

I know this is has been asked before but seriously, none of the ones I checked helped because they referred to a single variable assignation. Apologies if this is a duplicate. I have many variables ...
-3
votes
0answers
38 views

How to calculate a linear regression on the HP 40gs calculator? [on hold]

I have a question like my title explained. I'm not really a fan of using this calculator but for my studys I have to. So for a simple example, how to I make a linear regression on the HP 40gs on the ...
6
votes
1answer
56 views

Completion in terminal?

I know that it is possible to run Mathematica in Terminal. But I didn't find a way to get completion work in Terminal. I mean completion by ...
0
votes
0answers
19 views

Local SEnsitivity Analysis [on hold]

Would some one lead me to a reference where I could have a detailed idea about some local sensitivity analysis methods.
0
votes
1answer
27 views

Root: Simplifying symbolic expression

I'm doing calculations with a lot of symbols, which don't always gives nice expressions. Now I have a solution with a Root-expression, where the coefficients are symbolic, e.g. ...
0
votes
0answers
49 views

Phase space plot [on hold]

I solve a dynamical system problem using NDSolve. I plot the results using ParametricPlot. Is there any way that I could get a ...
1
vote
1answer
28 views

Get Coefficient of polynomial excluding variables

I'd like to write a function that returns the coefficient of a polynomial, but excludes some 'cross-term' coefficients. The function could be called CoefficientExclude, and the first argument would ...
1
vote
1answer
43 views

PlotLegends in ListPlot does not display different markers

I would like to plot a graph with the legends at its side. However, I have managed to plot the legends, but the markers do not match the one in plot (picture bellow): My code for that plot is: ...
16
votes
3answers
362 views

What does None mean in a control specification for Manipulate?

I am now struggling to understand code that contains the following (simplified) Manipulate structure. ...
0
votes
0answers
27 views

Find volume of a translated and rotated ellipsoid below xy (horizontal) plane

I am trying to find the volume of the lower part (above horizontal plane) of an ellipsoid that is clipped by the horizontal (or x-y) plane. This ellipsoid is also translated (i.e. origin is not at ...
1
vote
2answers
35 views

Dimensions of pdf generated by Export[…]

I'm trying to export a Grid table to pdf. When I display the table in the notebook, it has a very long aspect ratio, which I want to preserve in the pdf. However, ...
3
votes
0answers
47 views

Diverging solution to coupled second order ODEs from NDSolve

For a physics application I am considering the radial Bogoliubov-de Gennes equations in two dimensions. In dimensionless form they read as follows $$ \begin{cases} ...
0
votes
1answer
53 views

Copy and Paste Equations Mathematica [on hold]

How do I export a pdf from Mathematica such that I can paste the code back into Mathematica and restore the formatting. Related: ...
3
votes
1answer
70 views

Put labels sloped along axes in ListPlot3D

The three text labels in the following figure are all in horizontal direction. How to put the labels sloped along each axis to which it is attached? My Code ...
4
votes
1answer
85 views

Better method to swap the values of two 2-D arrays

I have two 2-D matrices $A$ and $B$(owns same dimentions) which have the style written as below: $ \begin{bmatrix} a_{11} & a_{12} & \cdots & a_{1k} &\cdots &\cdots & ...
-4
votes
0answers
27 views

Plot a simple line x=t^3 + c [on hold]

I know mathematica has a plot function but it's not giving me what I want. Using the above equation, how do I get Mathematica to generate a plot of lines for different t and c values?
0
votes
0answers
23 views

Symbol-handling, force-replace instanced variables [duplicate]

Currently I am stuck with the issue of renaming an instanced variable like r1$23314 to a global one. This issue arises as I need to use a "localizeAll" Module in ...
1
vote
0answers
51 views

Twilight Zelda Guardian Puzzle : Shortest Path Proof [on hold]

I'm playing a video game right now and in it is a puzzle (see here). There are solutions to solving it (see here) on the Internet, but I'd like to know if this path is the shortest path (least amount ...
1
vote
1answer
92 views

How to combine VectorPlot and Plot3D

I have a problem with VectorPlot and Plot3D, and I have a code for both but I dont know how to plot the same figure. Here is the code for Plot3D: ...
1
vote
0answers
39 views

Removing gutter shadows from scanned pages

I am new to image processing, and I was hoping someone might set me in the right direction. I am trying to create a simple toolkit for personal use for digitizing scanned book images into a database. ...
3
votes
1answer
58 views

How to make new line in mathematica file output?

I know that new line is classically made by "\n". I want to make a string with lines of data and then export it into a file: ...
-2
votes
0answers
32 views
0
votes
1answer
53 views
5
votes
4answers
188 views

15 30 50 per page