필터 지우기
필터 지우기

Subplot in MATLAB by using 3d matrix

조회 수: 4 (최근 30일)
hamed
hamed 2016년 7월 29일
편집: Stephen23 2016년 7월 29일
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
Stephen23
Stephen23 2016년 7월 29일
편집: Stephen23 2016년 7월 29일
@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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by