Undefined function or variable 'tiledlayout'

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 ExchangeFile 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