HELP. Symbolic substitution IN MATLAB.# Computation - 科学计算
o*l
1 楼
i need conversation between symbolic expression and numerical one frequently.
tried the command: subs(S,old,new). which can just substitute one specific
symbol.
what i want is, for example, x^2 + x, if i substitue x with 2, it should give
6.
thanks.
tried the command: subs(S,old,new). which can just substitute one specific
symbol.
what i want is, for example, x^2 + x, if i substitue x with 2, it should give
6.
thanks.