Borrar filtros
Borrar filtros

Subplot in MATLAB by using 3d matrix

4 visualizaciones (últimos 30 días)
hamed
hamed el 29 de Jul. de 2016
Editada: Stephen23 el 29 de Jul. de 2016
Hello
subplot(2, 1, 1), plot(Utility);
subplot(2, 1, 2), plot(AggreThroughput);
I would like to use subplot function but by considering that my matrix is 3d, I encountered the following error:
Matrix may not have more than 2 dimensions.
How can I convert it to 3d matrix?
Thanks
  1 comentario
Stephen23
Stephen23 el 29 de Jul. de 2016
Editada: Stephen23 el 29 de Jul. de 2016
@hamed: please edit your comment and give the complete error message, this means all of the red text.
Also please tell us exactly what these commands return:
size(Utility)
size(AggreThroughput)
and what you want to see when they are plotted.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by