25,057 reputation
13685
bio website
location
age
visits member for 3 years
seen 1 hour ago

Mar
24
comment FrameTicks and Ticks on Axes in Same Plot
I understand that what you wanted, but when Frame->True then Ticks is ignored and not even looked at. So there is no point of even having it there. That is what I mean. Try Plot[Sin[x], {x, -Pi, Pi}, Frame -> True, Ticks -> {{1, 1}}] so the actual ticks will have to come from FrameTicks which you already specified.
Mar
24
comment FrameTicks and Ticks on Axes in Same Plot
Since you said Frome->True then you need to use just FrameTicks not Ticks.
Mar
23
comment Returning a value from a Module
@enzotib it a secret option :) I am sure it is there somewhere, but need more time to find it now.
Mar
23
comment Returning a value from a Module
@enzotib Let me reboot my version 2.2 of Mathematica and see. I can't answer this question right now. I would think it always worked this way in Mathematica, but I do not know. May be someone else would. But I will check 2.2 to see.
Mar
23
comment Base 2 Tick Labels for ListLogLogPlot
@ubpdqn lets hope in V 10 they made it more easy to change the tick labels !
Mar
23
comment How to get diagonal matrix D from matrix multiplication of $s^{-1}$, P, and S
Chop[%] gives {{1., 0, 0}, {0, 0.65, 0}, {0, 0, 0.55}} floating point calculation noise.
Mar
22
comment Color of first and last point in a graphic
random walk in 1D? will be hard to see the path?
Mar
22
comment Plotting power spectral density from transfer function
You can get your latex to show as Mathematica code like this: ToExpression["S(w) = \\ frac{\\ sigma_u ^2 \\ tau_u}{\\ pi} \\ frac{1}{1+(\\ tau_u w)^2}",TeXForm] and this gives !Mathematica graphics
Mar
20
comment Data Table Manipulation
Actually, I find SQL based constructs more natural. May be that is why LINQ is so popular in C#. en.wikipedia.org/wiki/Language_Integrated_Query LINQ extends the language by the addition of query expressions, which are akin to SQL statements, and can be used to conveniently extract and process data from arrays, enumerable classes, XML documents, relational databases, and third-party data sources. I do not see why Mathematica can't have LINQ added to it with an API on top it.
Mar
15
comment I want to create an arrow so that my output of my program will indicate 2 Sin x is the plotted graph
why did you delete your question here mathematica.stackexchange.com/questions/44062/… right after I answered it?
Mar
12
comment Convert variable into function
h = 3*s - 1; f[s_] := Evaluate@h; then f[3]
Mar
12
comment Why does a variable become real when using the second argument of Dynamic?
@Szabolcs sorry, I did not.
Mar
12
comment Computing Smith Normal form of a matrix with mod p coefficients
I was just wondering why there is still no build-in function in reference.wolfram.com/language/guide/MatrixPredicates.html for the function you wrote above diagonalMatrixQ? Should not this predict be also a build-in function in Mathematica?
Mar
11
comment Are there some other ways to solve a second PDE except DSolve?
and get a solution with conditions, but I don't know whether it is correct. You can always substitute the solution back in the PDE and see if it satisfies it? Or since you used Maple, you can use pdetest maplesoft.com/support/help/Maple/view.aspx?path=pdetest
Mar
11
comment Question about NDSolve
Please post a fully self contained non-working example that one can copy/paste and run to show the problem including any numerical values used.
Mar
10
comment Plotting Zeros of a Complex Variable
The code I used is on my office computer You are saying you do not have GoToMyPc installed? (I hear this commerical ad on radio for gotomypc , the techguy show) and thought this is good time to say it :)
Mar
10
comment NDSolve example - analytical vs numerical solution. How to specify initial conditions?
How did you get that Analytic solution is easy to obtain: y[t] = a Sqrt[t] ? If the analytical solution is easy to find, why then not use DSolve? and get a general solution, then you can find the constant of integrations later. But using your solution even using w=1, I get eq = y[t]^-3 == y[t]/t^2 + y''[t]; sol = a Sqrt[t]; sol^(-3) - w^2 sol/t^2 - D[sol, {t, 2}] which is not zero.
Mar
8
comment Euler's method for system of differential equation
k[t_, x_, y_] := -y why is this function defined to accept t and x if they do not appear in the body of the function? v[t_, x_, y_] := (x - 2 y)/2, same here. Where is t is the RHS?
Mar
8
comment Euler's method for system of differential equation
f[x_, y_, t_] := y; why would you pass in x and t to the function f if they are not used in the body of the function? g[x_, y_, t_] :=0.5x+0.5y and here, t is not used in the body of the function, so why is it passed? if you have the problem description you are trying to solve from the source, can you post it? I am having hard time seeing what you are trying to do.
Mar
8
comment The introduction for Context in Wagner's book is out of date?
Try this for more strange result: x = 5; Begin["temp"]; x = 6; {x, Globalx} which gives {6,6} ?