Undefined function or variable 'tiledlayout'

11 Ansichten (letzte 30 Tage)
mohammed samaheen
mohammed samaheen am 4 Okt. 2019
Bearbeitet: Rik am 23 Aug. 2020
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');

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 4 Okt. 2019
you probably do not have a new enough matlab release. tiledlayout is quite new.
  3 Kommentare
Yashika
Yashika am 23 Aug. 2020
Do we have any alternative for older versions?
Steven Lord
Steven Lord am 23 Aug. 2020
See the subplot function.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by