plot fplot ezplot
使用plot绘制正弦图形的命令语句:
x=[-pi:0.01:pi];
y=sin(x);
plot(x,y)
使用fplot(针对建立的数值函数):
y=inline('sin(x)');
fplot(y,[-pi,pi])
使用ezplot(针对符号函数):
syms x;
y=sin(x);
ezplot(y)
Implicit functions of a single variable are not supported.
hold on 保持图形