How can I solve this Error message:'Interges can only be combined with ....'?
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (1)
Soyoung
am 18 Mär. 2011
0 Stimmen
1 Kommentar
Walter Roberson
am 18 Mär. 2011
example:
B = I .* A;
would get changed to
B = double(I) .* A;
Kategorien
Mehr zu Programming finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!