Undefined function or variable 'tiledlayout'

6 views (last 30 days)
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');

Accepted Answer

Walter Roberson
Walter Roberson on 4 Oct 2019
you probably do not have a new enough matlab release. tiledlayout is quite new.

More Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!