For questions specific to version 8.x.x of Wolfram Mathematica, or not applicable to versions 7 or earlier. Dedicated Mathematica Stack Exchange site: https://mathematica.stackexchange.com/
Questions tagged [mathematica-8]
199 questions
2
votes
1 answer
define a Linear Time-Delay system in Mathematica and plot it's Bode and Nyquist diagrams
I have a characteristic equation of a time-delay system and i can't define it with StateSpaceModel or TransferFunctionModel command in Mathematica; Because these commands only work for linear systems without delay.
My purpose is to define a…

Jalil
- 221
- 2
- 8
2
votes
2 answers
How do I define a function in mathemathica that uses a complicated recurrence relation?
I am trying to write a little script to compute an integer sequence. The function I'm trying to write in code is the one int the blackboard, a(n). The problem is that I was expecting the function h(n) I defined in the script to give a number as a…

b0nes
- 23
- 7
2
votes
1 answer
Plotting Quantum Harmonic Oscillator in Mathematica
How can I make the plot for quantum harmonic oscillator using Mathematica?
I would like to draw similar looking plot like the attached figure.

Bikash
- 147
- 2
- 8
2
votes
1 answer
SVD-like matrix transformation (rank normal form)
I am implementing a research paper in MATLAB and have encountered a matrix transformation that I don't know how to get done in MATLAB.
Here it is,
P*L*Q = [I O]
where P,Q are transformation matrices, L is the given matrix, and I,O are identity and…

Mannan Raja
- 51
- 1
- 2
2
votes
1 answer
set::write Tag Times Error for reading in files in For loop
I have a fairly simple code that I keep getting "set::write Tag Times in npsRadSlice is protected" errors for, despite having no real math in the code. I've gone through many other questions relating to the same error, and the solutions to those…

M.Rus
- 23
- 4
2
votes
1 answer
Mathematica maximum of a list
I have a list of this form:
{{1.39339, 11.5378}, {1.38379, 11.5362}, {1.37495, 11.5342}, {1.36668, 11.5319},
{1.35878, 11.5295}, {1.35199, 11.527}, {1.34565, 11.5246}, {1.34034, 11.5222},
{1.33551, 11.52}, {1.33128, 11.5179}, {1.32784,…

Mark Pace
- 201
- 2
- 12
2
votes
0 answers
Mathematica: Implementation of Partial Least Squares (PLS)?
I'm looking for a PLS implementation for Wolfram Mathematica.
I just cant seem to find any implementation for it - do you know one? In general, I'm a bit confused that there exist only so few third-party packages/libraries for mathematica in general…

tim
- 9,896
- 20
- 81
- 137
2
votes
2 answers
Save plot options in list
I wonder if it is possible to make a variable that holds info obout wanted style for Show[] function. So ewery time i want to display plots in Show[] i will insert that variable in Show[] to set options for style.
I want something like…
user2081554
2
votes
1 answer
Is it possible to load a C++ shared library to Mathematica 8.0?
I'm trying to load a C++ function compiled to a shared library from Mathematica 8.0. I did manage to use a C function using MathLink but MathLink does not seem to support C++ functions. So I tried to create a shared library and load it through…

Piotr Korcyl
- 23
- 2
2
votes
0 answers
Using DistributionFitTest[] on custom distributions in Mathematica 8
I'm trying to compute the Goodness of Fit of a bi-modal Gaussian distribution.
To do this, Mathematica seems to require a symbolic distribution function to which to compare.
Because such a bi-modal distribution is not a stock distribution, I'm…

KDN
- 1,349
- 2
- 14
- 17
2
votes
0 answers
Storing output from mathematica loop in file
I am running a for-loop in mathematica on a relatively fine grid for different parameterizations. The loop is rather time-consuming and I want to automatize it so that I can run it over night. Therefore I would create another for - loop over the…

PJK
- 21
- 1
1
vote
2 answers
How plot a 2D Density graph from a set of 2D points and displaying also a network connecting those vertices
My problem is the following.
The aim
Plotting a set of 2D points on the plane having a function used to give intensity for every point.
fun(x,y):=x+y
Plus, I have a graph connecting these points. I need to display the graph on the density plot,…

Andry
- 16,172
- 27
- 138
- 246
1
vote
1 answer
bar and hat only apply to certain letters
I'm a beginner in Mathematica. Like shown in the image below, I'm trying to put hat and bar to some letters (I just want to write vector notation) but only some letters can have them. What's wrong with how I do?
If you could provide online resource…

IsaacS
- 3,551
- 6
- 39
- 61
1
vote
1 answer
Solve the ODE with NDSolve and dependet variables
I have intialconditions:
sf = 200;
sm = 100;
p = 40;
betaf = 0.15;
betam = 0.15;
mums = 0.02;
mufs = 0.02;
sigma = 0.20;
mum = 0.02;
muf = 0.02;
and the ODE:
sf' := -muf*sf + (betaf + mums + sigma)*p - HarmonicMean[sf, sm];
sm' :=…

0xbadc0de
- 3,805
- 3
- 22
- 14
1
vote
1 answer
How to compile Mathematica to C code with intel C++ compiler (x86) on Win7(x64)?
My OS is windows 7 64bit. I installed Microsoft C++ 2008 Express edition and Intel C++ Compiler v11.1 x86 version.
Now I could successfully compile x86 C code in Mathematica, e.g.
In[1]:= Needs["CCompilerDriver`"]
In[2]:= greeter =…

Osiris Xu
- 713
- 1
- 5
- 13