Recent content by xpress907
-
X
How do you update variables in NDSolve for each step?
yes, when i say step i mean each step in x inside of NDSolve. I think i may have found an answer to this. I am posting it incase anyone else should ever find this and need help. The ?NumericQ prevents the expression simply getting replaced by RandomReal[]. rand[x_?NumericQ] :=...- xpress907
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
X
How do you update variables in NDSolve for each step?
Im using NDSolve. I need to be able to update a variable inside NDSolve each time NDSolve takes a step. "rand" is the variable I want to update each step. I want it to be a different number each step. The below is an example that illustrates what I have currently happening ("rand" does not...- xpress907
- Thread
- Variables
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX