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
1
vote
2 answers
simple g(n) such that f(n) = Θ(g(n))
f(n) = 4 * 2n + 4n + 20n5
So, g(n) = 4n
Now our f(n) = O(g(n))
4 * 2n + 4n + 20n5 ≤ c*4n
How do we do this? I know how to do it for simple cases, but this one is far more complex. Would it go along the lines of removing the constant 4 and 20n5…

Regez
- 9
- 3
1
vote
0 answers
Reverse engineer matrices (symbolically)
I'm not sure if this is possible but I'm looking for a way to reverse engineer a given matrix (preferably subjected to a parameter).
For example, given a Hilbert Matrix, I want to get the generating function
Thank you for all the help in advance.

kirikoumath
- 723
- 9
- 20
1
vote
1 answer
Mathematica notebook messed up
During the last weeks a strange problem occured several times with my notebooks. Sometimes when I open up a notebook the content is completely messed up in the sense, that it is put into one cell. That means, that every cell I was able to execute…

phbarnacle
- 36
- 4
1
vote
1 answer
Vector plot of 2d functions in mathematica
I am trying to plot 1/r (r-hat) using VectorPlot in Mathematica by decomposing r-hat into x-hat and y-hat.
I am using:
[Chi][x_, y_] := Sqrt[x^2 + y^2]
[Phi][x_, y_] := ArcTan[y/x]
and then plotting the above function in x,y plane.
But, for x<0…

user1945474
- 21
- 3
1
vote
1 answer
Rendering Graphs
Is there a way to colour region bounded by edges with GRAPH in mathematica. Like if three vertices form a triangle, I want to colour the are of triangle with GRAPH option.
user1709828
1
vote
1 answer
Confusion in String Manipulation
InputForm[{a, b, c, d, e, f}] gives {a, b, c, d, e, f}
InputForm[Characters["SOMETHING"]] gives {"S", "O", "M", "E", "T", "H", "I", "N", "G"}
But why does not Drop[InputForm[Characters["SOMETHING"]],1] give {"O", "M", "E", "T", "H", "I", "N",…
user1709828
1
vote
1 answer
Mathematica Image Average Optimization
this is my first time asking question in stackoverflow. I tried hard not to make any guideline violations, but let me know if there is any—please understand since it is my first time.
I have a code in Mathematica, and I think it is REALLY slow.
I…

hbar
- 131
- 4
1
vote
0 answers
Mathematica text keyword
I have a file.txt looklike this
key.txt
date: Nov_17_12
begin
k 6.822379e+001 1.298165e+002 0.000000e+000
k 0.000000e+000 1.298165e+002 0.000000e+000
k 6.822379e+001 7.357968e+001 0.000000e+000
end
begin
k…

Viet Tran
- 19
- 4
1
vote
1 answer
difference in mathematica between Inverse[_] and (_)^(-1) for WishartDistribution
Does anyone know why the following random distributions of matrices generate different plots? (This is code to generate a plot of the PDFs for first cells from a set of 10x10 matrices sampled using an inverse Wishart distribution; amazingly, the…

carlosayam
- 1,396
- 1
- 10
- 15
0
votes
1 answer
Error in using .NETLink in Mathematica to invoke Matlab
I used before following code to call MATLAB from MATHEMATICA without any problem
In[1]:= Needs["NETLink`"]
matlab = CreateCOMObject["matlab.application"]
But now i have an error like this:
CreateCOMObject::netexcptn: "A .NET exception occurred:…

Jalil
- 221
- 2
- 8
0
votes
2 answers
How to change a property attached to the whole graph
Does anyone know how to change graph property "Norm". A command;
G = SetProperty[G, "GraphProperties" -> {"Norm" -> 1}]
doesn't work as I expected. Here is the graph constructor;
G = Graph[{Property[1, "Potential" -> 11],2,3,4},
…
0
votes
2 answers
Export data from mathematica script
I am writing a mathematica script and running it in the linux batch shell. The script gives as a result a list of numbers. I would like to write this list to a file as a one single column without the braces and commas. For this, I tried to use…

Chuse
- 15
- 3
0
votes
1 answer
2 Dimension Runge-Kutta Method on Mathematica 8
I have a problem while programing in Mathematica 8, here is my code:
f[t_, y_] := {y, y};
RungeKutta3[a_, b_, Alpha_, n_, f_] :=
Module[{h, j, k1, k2, k3},
h = (b - a)/n;
Y = T = Table[0, {100 + 1}];
Y[[1]] = Alpha;
T[[1]] =…

user1123767
- 1
- 1
- 3
0
votes
0 answers
"DRadialGaussian" is not available as built in function in Mathematica. How can I install package of it in Mathematica
I got an online video code of iris images where someone has used DRadialGaussian, which is not working in my Mathematica software. I need to install some extra package to run it. How can I obtain the code of DRadialGaussian package? I tried but not…
0
votes
1 answer
2D coordinates of Histogram3D from a given point of view
I found that plot on the web. I don`t know which kind of Distribution yields this. I would like to draw such plot on paper. But get some help from Mathematica if possible :
With this image as example could I obtain the 2D coordinate of each visible…

500
- 6,509
- 8
- 46
- 80