(相关资料图)
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))。
本文到此分享完毕,希望对大家有所帮助。
Copyright 2015-2022 东方商务网 版权所有 备案号: 沪ICP备2020036824号-8 联系邮箱:562 66 29@qq.com