When I execute the SUBS function on a symbolic object that contains no variables, I expect the output to be identical to the input. However, the SUBS function converts it to a double-precision number:
syms A x yA = sym(1);class(A)A = subs(A,x,y);class(A)
Best Answer