How can I solve this Error message:'Interges can only be combined with ....'?
8 ビュー (過去 30 日間)
古いコメントを表示
I got error message like '' ??? Error using ==> mtimes Integers can only be combined with integers of the same class, or scalar doubles. ''
I use rotation transformation in 3D matrix. In previou, code worked well but it is suddenly interfered at rotational matrix. I checked input values but all the values are floating typed and integers. Is anyone possible to understand and have solution on the error? Thank you.
0 件のコメント
採用された回答
Walter Roberson
2011 年 3 月 18 日
Locate the integer variable and put double() around the reference to it.
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!