n=-100:20/100:100;
tiledlayout(2,2);
%y1
nexttile
y1=sin(0.5*n);
plot(n,y1);
title('y1');
%y2
nexttile
y2=sin(0.7*n);
plot(n,y2);
title('y2');
%y3=y1+y2
nexttile
y3=y1+y2;
plot(n,y3);
title('y3');

 채택된 답변

Walter Roberson
Walter Roberson 2019년 10월 4일

0 개 추천

you probably do not have a new enough matlab release. tiledlayout is quite new.

댓글 수: 3

Steven Lord
Steven Lord 2019년 10월 4일
It was introduced in R2019b.
Yashika
Yashika 2020년 8월 23일
Do we have any alternative for older versions?
Steven Lord
Steven Lord 2020년 8월 23일
See the subplot function.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 File Operations에 대해 자세히 알아보기

태그

질문:

2019년 10월 4일

편집:

Rik
2020년 8월 23일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by