1

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$.

Syed
  • 52,495
  • 4
  • 30
  • 85
Aerterliusi
  • 353
  • 1
  • 5
  • 2
    You could symbolize it using notation package. Iam sure this was asked before if you search this site. – Nasser Apr 16 '23 at 03:46
  • 1
    Use Format[x[n_]] := Subscript[x, n] then the indexed variable x[j] will display as a subscripted variable. – Bob Hanlon Apr 16 '23 at 04:11
  • 1
    Also see https://mathematica.stackexchange.com/q/30849/1871 https://mathematica.stackexchange.com/q/30884/1871 – xzczd Apr 16 '23 at 04:32

0 Answers0