error using ==> times
이전 댓글 표시
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.
채택된 답변
추가 답변 (1개)
Junaid
2012년 5월 3일
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);
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!