Tagged Questions
2
votes
3answers
140 views
How to make a defined symbol stay in symbol form?
How to make a defined symbol stay in symbol form?
w = 3; g = 4;
{w, g}[[2]]
3
I want the output to be ...
3
votes
1answer
117 views
Using external variable as a variable inside WhenEvent & NDSolve
I'm trying to use the new WhenEvent functionality of NDSolve in Mathematica 9, in order to perform an action when a variable in the system reaches a certain value. I would like this variable to come ...
27
votes
3answers
649 views
Is there an equivalent of MATLAB's Workspace window in Mathematica?
For example, in MATLAB, a panel is available where one can see straightaway which variables are used and their dimension sizes. Is such a feature available in Mathematica? I really find it hard to ...
12
votes
6answers
335 views
How to clear all variables except one?
I have a lot of variables: $a,b,c,d, \ldots $
I want to clear the values of all of them except $b$. It's really lengthy to write
Clear[a];
Clear[c];
...
Is ...
15
votes
5answers
3k views
How do I clear all user defined symbols?
Is there some way to do this other than going to Evaluation -> Quit kernel and firing a new one up?