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

Feb
7
comment How does the speed of WriteString compare to other languages?
Can you please post plain code and not an image.
Feb
6
comment Mathematica can't find constants for this differential equation
@John I do not think any one can answer why DSolve could not solve this without looking at the source code for DSolve. And since I do not work at WRI, I have no access to the source code to answer this. We all could only try to speculate and give workarounds and suggestions.
Feb
5
comment trouble with Dynamic range in SetterBar
@PeeterJoot You say I actually want range to be non-constant. Ok, but in the code you posted, range was not used anywhere else other than in setting the controls. So that is why I assumed it constant. Ofcourse using range as global will always work, but if you making a demo, you can't have a global cell in the demonstration notebook and everything has to be inside the Manipulate. Even in the Initialization section, it will not work due to order of evaluation. May be it is a bug then for this control. If your setting allows using global variables, then may be this a solution you can use.
Feb
5
revised trouble with Dynamic range in SetterBar
added 1271 characters in body
Feb
5
reviewed Approve Error when solving equations constructed with Table
Feb
5
answered trouble with Dynamic range in SetterBar
Feb
5
revised Mathematica can't find constants for this differential equation
updated the image
Feb
5
answered Problem with Creating Mathematica Package
Feb
5
revised Mathematica can't find constants for this differential equation
typos, cleaned writing
Feb
5
answered Mathematica can't find constants for this differential equation
Feb
5
answered Why does initialization slow down manipulate in this case?
Feb
4
awarded  Nice Question
Feb
3
revised Anchor Manipulate Controls to Edges of Content
added 115 characters in body
Feb
3
answered Anchor Manipulate Controls to Edges of Content
Feb
3
comment Extracting frequencies with Fouriertransformation
@holistic if you mean the py/nSamples then this is something commonly done, to average the power. Its been a while since I did dsp, so I do not remember the details now. But the above is a common way to do it (scale the psd by number of samples).
Feb
3
comment Extracting frequencies with Fouriertransformation
@holistic Please try the new code. It is was something I did before and forgot to refresh the session. Needed to zero out the DC frequency. For some reason, it was an outliner, hence it messed up the scale. I updated the code above.
Feb
3
revised Extracting frequencies with Fouriertransformation
put the correct plot
Feb
3
comment Extracting frequencies with Fouriertransformation
@holistic give me few minutes to look at it again
Feb
3
comment Extracting frequencies with Fouriertransformation
@holistic You need to do SetDirectory[NotebookDirectory[]]; data = Import["testdata.txt", "List"]; as shown. This reads the data. Make sure your file testdata.txt is in the same folder where the notebook is saved to. Screen shot !Mathematica graphics and !Mathematica graphics it works for me. May be you changed your data or something.
Feb
3
revised Extracting frequencies with Fouriertransformation
Forgot the Fourier command