📄 p3_27.m
字号:
% P3_27.M Test function vrot% Calls function vrot%x1=[1 0]' % [1 0] rotated 30 degreesy1=vrot(x1,30) % [1 0] rotated 30 degreespausex2=[0 1]' y2=vrot(x2,30)pause%% Misc. test%y3=vrot(y2,-30) % Rotate y2 back (=x2?)%% Add a few comments and test this M-file with % format short and format long%
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -