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');

 Respuesta aceptada

Walter Roberson
Walter Roberson el 4 de Oct. de 2019

0 votos

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

3 comentarios

Steven Lord
Steven Lord el 4 de Oct. de 2019
It was introduced in R2019b.
Yashika
Yashika el 23 de Ag. de 2020
Do we have any alternative for older versions?
Steven Lord
Steven Lord el 23 de Ag. de 2020
See the subplot function.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre File Operations en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 4 de Oct. de 2019

Editada:

Rik
el 23 de Ag. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by