MTIMES (*) is not fully supported for integer classes. At least one argument must be scalar
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Afluo Raoual
el 7 de Jun. de 2021
Comentada: Chunru
el 9 de Jun. de 2021
Dear members
I have a matrix H of type uint8 and a vector V of type double
When I make
D=mod(H*V,2);
I get an error : MTIMES (*) is not fully supported for integer classes. At least one argument must be scalar
I tried to convert the matrix from uint8 to double by making :
H=double(H);
but it doesn't work. How can I fixe the problem please
1 comentario
Stephen23
el 7 de Jun. de 2021
What does "but it doesn't work" mean exactly? Does it throw an error message? (if so, what is the complete error message?) Or do you get an unexpected value? (if so, please upload sample data by clicking the paperclip button).
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Numeric Types en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!