three plot one section

calculate

您现在正在关注此提交

%grafik-1
x=linspace(0,1,101);
y=5*cos(3*pi*x);
subplot(3,1,1);
plot(x,y,'r');
xlabel('X Değerleri');
ylabel('Y Değerleri');
grid on;
title('y=5*cos(3*pi*x)');
legend('y datas');
%grafik-2
x1=linspace(-5,5,101);
y1=1./(1+x1.^2);
subplot(3,1,2);
plot(x1,y1,'b');
xlabel('X_1 Değerleri');
ylabel('Y_1 Değerleri');
grid on;
title('y1=1./(1+x1.^2);');
legend('y1 datas');
%grafik-3
x2=linspace(-1.57,1.57,200);
y2=(sin(7*x2)-sin(5*x2))./(cos(7*x2)+cos(5*x2));
subplot(3,1,3);
plot(x2,y2,'b');
axis([-2,2,-10,10]);
xlabel('X_2 Değerleri');
ylabel('Y_2 Değerleri');
title('y2=(sin(7*x2)-sin(5*x2))./(cos(7*x2)+cos(5*x2))');
legend('y2 datas');
grid on;

引用格式

Arthur Matlabus (2026). three plot one section (https://ww2.mathworks.cn/matlabcentral/fileexchange/167401-three-plot-one-section), MATLAB Central File Exchange. 检索时间: .

标签

添加标签

Add the first tag.

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0