How to equate the matrix dimension?
2 ビュー (過去 30 日間)
古いコメントを表示
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
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
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 Center および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!