p64.m

来自「是一本教科书的各个章节的源程序代码,适合初学数字图像的人」· M 代码 · 共 11 行

M
11
字号
t=0:0.1:2*pi;
y1=sin(t);
plot(t,y1,':')
hold on
y2=cos(t);
plot(t,y2,'*')
xlabel('Time(0~2\pi)','FontWeight','bold')
text(pi,0,'\leftarrowsin wave')
text(pi/2,0,'\leftarrowcos wave')
hold off

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?