error using ==> times
Afficher commentaires plus anciens
what does it mean that error below. can anyone explain to me. i can not understand the error. thanks
??? Error using ==> times
Integers can only be combined with
integers of the same class, or
scalar doubles.
Réponse acceptée
Plus de réponses (1)
Junaid
le 3 Mai 2012
I think whatever vector you are trying to multiplying should have same class (data types). So first you type cast to one class.
like
x = double(x);
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!