Linked Questions

0
votes
2answers
2k views

How do I clear all variables with subscripts? [duplicate]

Possible Duplicate: Clear complains that a variable is not a symbol or a string? Clear["Global*"]` Works for most variables, however if i do something ...
1
vote
0answers
1k views

How to assign (and retrieve) variables with subscripts? [duplicate]

I like to give subscripts to my variable names when the variables are related. I.e., Subscript[r, i] = 3 3 A problem arises when I later assign ...
0
votes
0answers
83 views

How to Clear a symbol with subscript in Mathematica? [duplicate]

Possible Duplicate: Clear complains that a variable is not a symbol or a string? I want to clear $\lambda_0$ which is assigned to be $\lambda_0=1$. From the reference here, Clear ...
0
votes
0answers
24 views

Accidentally used assigned a value to a string, cannot unassign it [duplicate]

I am using Mathematica for typesetting a homework assignment, and I accidentally assigned a value to a sort of complex variable (I typed = instead of ==). Here's what happens when I type it: Now I ...
95
votes
2answers
4k views

What is the distinction between DownValues, UpValues, SubValues, and OwnValues?

When reading through the documentation, you often encounter the phrases DownValues, UpValues, ...
55
votes
4answers
3k views

Using the Mathematica front-end efficiently for editing notebooks

Background: I have used Vim for 15+ years. There is a certain "one"-ness with the editor one achieves. Emacs users also experience this. Notepad users do not. My current interaction with the ...
5
votes
6answers
2k views

bar and hat only apply to certain letters

(I'm navigated from stackoverflow.com where I asked almost the same question) I'm a beginner in Mathematica. Like shown in the image below, I'm trying to put hat ...
18
votes
1answer
5k views
4
votes
3answers
832 views

How to Clear variables with apostrophe?

An apostrophe ' is often used when we want to distinguish two variables. For example, if we already have a variable t and we may ...
9
votes
1answer
315 views

Selectively clear DownValues

How can I clear a subset of a symbol's DownValues ? For example, suppose I have created some DownValues for $f$ like this: ...
4
votes
2answers
542 views

Error entering equation in DSolve

I entered a command incorrectly as follows: DSolve[{y'[x]=y[x]},y[x],x] I am now experiencing: ...
3
votes
4answers
164 views

Pack Solve results into a vector

I am currently using a really easy function to get the eigenvectors of a corresponding eigenspace: ...
2
votes
2answers
238 views

How to clear variables in a manipulate without enabling dynamic content?

I have a series of variables that will plot the number of straight segments along a curve, thanks to the help from here on one of my previous questions. I can create a working Manipulate command from ...

15 30 50 per page