p1_8.m
来自「Advanced Engineering Mathematics using M」· M 代码 · 共 13 行
M
13 行
% P1_8.M Plot the function% y=3*cos(7x)+5*cos(13x)x=[0:.01:10]; % Experiment with spacing to get a good ploty=3*cos(7*x)+5*cos(13*x);clf % Clear any figuresfigure(1)plot(x,y)title('Rectangular Coordinates')pause% Polar coordinatesfigure(2)polar(x,y)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?