Linked Questions
11 questions linked to/from How to create symbol whose name has subscript?
4
votes
2
answers
1k
views
How to declare a variable with subscript being numbers? [duplicate]
everyone!
I hope to declare a variable with subscript as numbers, for example, $x_{10}$, $x_{11}$, $x_{01}$ as variables. Is it possible in mathematica? If so, how to implement it so that it treats $...
1
vote
1
answer
157
views
Function definition with sub (super) cripted variables [duplicate]
I like using subscripts a lot. However, it is regrettably not possible to do, for example:
myfunction[Subscript[x,1]_] := Subscript[x,1] +1
where instead of the ...
1
vote
0
answers
43
views
How to make Mathematica treat Subscript[x, j] as a standalone variable? [duplicate]
When i use Replace[] or /., I find that Mathematica does not treat $x_{j}$(Subscript[x, j]) ...
55
votes
2
answers
31k
views
Can we use letter with a subscript as a variable in Mathematica?
I tried
Subscript[a, 0] = 1
(* 1 *)
Clear[Subscript[a, 0]]
...
3
votes
3
answers
298
views
How make D[f,x] treat OverBar[x] as a constant
I have an expression of the form f = a*x +OverBar[x], where OverBar[x] is just a name, it has not much to do with the variable x. I want ...
1
vote
1
answer
442
views
Converting the subscript of matrix name to a variable
I want to change indices of matrix name during loop for creating different matrices. For example;
...
1
vote
1
answer
660
views
About Symbolize and Variables
I do believe this sort of similar questions had been asked many times, so I have read a LOT. For example this and this as well as many other related posts.
But a glance at what my main question is ...
2
votes
1
answer
449
views
Making subscripts with variable
How do I make a variable $k_{1x}$ where the $x$ is just a label to denote the magnitude along the x-axis and not an actual defined variable x in the code?
Similarly, if I wanted to make $E_x$ or $E_{...
1
vote
1
answer
140
views
Integrated Solution Graphics [closed]
I want to draw this nonlinear differantial equation' graphic with other solving equation (in same graphic).
...
0
votes
0
answers
76
views
Using sub-scripted variables in functions
Is it possible to use subscripts in Mathematica functions, for example
f[Subscript[x, a] _] := x^2
However this doesn't seem to work, is there a way to allow ...
0
votes
0
answers
54
views
Syntax question for declaring variables [duplicate]
I have a very basic syntax question for declaring $X_{hb}$ a variable.
f[Subscript[X, hb_]] := Subscript[X, hb]
In mathematica instead of writing the ...