MATLAB研究文档

发布于 2020-11-08  314 次阅读


综述

研究细节

基础实例代码

t=0:1/100:4*pi;
y0=sin(3*t).*exp(-t/3);
y= exp(-t/3);
y1=0*t;
subplot(2,1,1) %set sub pic position
plot(t,y,t,-y,t,y0,t,y1); % draw pci
load noisdopp;
subplot(2,1,2)
plot(noisdopp);
syms n;
result = limit(sin(n)/n,n,0);

画出的图为:

pic_plot

笔者尝试绘制三角函数与反三角函数

t=-pi/2:1/100:pi/2;
y1=sin(t);
y2=asin(t);
plot(t,y1,t,y2);

画出的图如下:

pic_plot

朝闻道,夕死可矣