matlab subsystem 怎么用_matlab subs

2023-06-10 05:54:21 来源:互联网


(相关资料图)

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))。

本文分享完毕,希望对大家有所帮助。

标签:

为您推荐

新闻快讯