When i use Replace[] or /., I find that Mathematica does not treat $x_{j}$(Subscript[x, j]) as a variable compared to $xj$. I was wondering, if there is a way to make $x_{j}$ an ordinary variable name like $xj$, because i think
$x_{j}$ is standard mathematical notation compared to $xj$.
Asked
Active
Viewed 41 times
1
Syed
- 52,495
- 4
- 30
- 85
Aerterliusi
- 353
- 1
- 5
Format[x[n_]] := Subscript[x, n]then the indexed variablex[j]will display as a subscripted variable. – Bob Hanlon Apr 16 '23 at 04:11