multiple Subplots in one Frame using MATLAB coding

preview_player
Показать описание
Here, we tried to multiple subplots in single frame using MATLAB functions.
The m- file is shared below , can be used for further analysis and variations. You can varry this plots by changing numerical values and functions.
...........

x = -3:0.1:10;

y1 = sin(x);
y2 = cos(x);
y3= tan(x);
y4=1./cos(x);

figure

subplot(2,2,1)
plot(x,y1)
title('Subplot 1')

subplot(2,2,2)
plot(x,y2)
title('Subplot 2')

subplot(2,2,3)
plot(x,y3)
title('Subplot 3')

subplot(2,2,4)
plot(x,y4)
title('Subplot 4')

.............
Рекомендации по теме
Комментарии
Автор

your video literally saved my grade! tysm <3 keep it on

renattarodriguez
welcome to shbcf.ru