请问各位 请问我要显示某个变量的职 比如说a的值的时候 希望显示出的是
this is the answer = (a的值)
该怎么做呢?
另外 我使用这个code
y=input('y=');
syms x
x_sol=solve(x+y==1);
disp(['a=' num2str(x_sol)])
但是matlab一直回传
Undefined function 'max' for input arguments of type 'sym'.
Error in num2str (line 65)
xmax = double(max(abs(widthCopy(:))));
该怎么解决呢?
感谢