matlab subscripted assignment(matlab subs)
1、SUBS(S) replaces all the variables in the symbolic expression S with values obtained from the calling function, or the MATLAB workspace. subs(S)表示:用数值替代所有的符号变量。
2、y1=int(sin(x),x,0,t); 的结果是y1=-cos(t)+1,是符号结果,用subs(y1),将y1中的所有符号变为数值。
3、clc;clear symst; t=0:pi/60:2*pi; y1=sin(t); y2=cos(t); plot(subs(y1),subs(y2))。