首页 > 行业 > > > 正文
matlab的subs函数(matlab subs)-环球新动态
发布时间:2023-05-09 20:28:43   来源:互联网  


(资料图)

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号-7   联系邮箱:5 626 629 @qq.com