?? twosines.m
字號:
% twosines.m
% Generates signal x = sine1 + sine2
% where frequencies are incommensurate, and plots time and 3D graphs.
x=sin(2*pi*6.726*t)+0.55*sin(2*pi*51.49*t);
zax=0.55*cos(2*pi*51.49*t);
xax=(1+0.55*sin(2*pi*51.49*t)).*sin(2*pi*6.726*t);
yax=(1+0.55*sin(2*pi*51.49*t)).*cos(2*pi*6.726*t);
figure(1),plot(x(1:400))
figure(2),plot3(xax,yax,zax)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -