How to equate the matrix dimension?

조회 수: 2 (최근 30일)
lina
lina 2014년 4월 17일
댓글: lvn 2014년 4월 17일
Hi all,
I wanna equate the matrix size to [12 15 13] but its include a matrices dimensions [6 15 13] how to to equating them to avoid the error that is appear in the code
??? Error using ==> pcolor at 58
Matrix dimensions must agree.
thank you in advance.
  댓글 수: 2
Walter Roberson
Walter Roberson 2014년 4월 17일
What are the size() of each parameter you are passing to pcolor() ?
You appear to be attempting to pass three-dimensional matrices to pcolor(), but it can only accept two-dimensional matrices.
lvn
lvn 2014년 4월 17일
You will need to give us a bit more information, if you want proper help. Clearly matrices of different dimension can not be 'equated'. What do you want to do? How is it related with pcolor? Perhaps post your program?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by