📄 plotdata.m
字号:
% Appendix F: MATLAB Basics, Section F.5, p. 830-831.%% MATLAB's use of scripts is described in Section F.5. % The script described in Figure F.21 is given here. It% can be used to plot y(t)=sin(alpha*t), where the parameter % alpha is input at the command prompt prior to executing % the m-file. The value of alpha must exist in the workspace % prior to invoking the script.%t=[0:0.01:1];y=sin(alpha*t);plot(t,y)xlabel('Time [sec]')ylabel('y(t) = sin( alpha * t )')grid
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -