How can I solve this Error message:'Interges can only be combined with ....'?
이전 댓글 표시
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.
채택된 답변
추가 답변 (1개)
Soyoung
2011년 3월 18일
0 개 추천
댓글 수: 1
Walter Roberson
2011년 3월 18일
example:
B = I .* A;
would get changed to
B = double(I) .* A;
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!