undefined function or method 'unit8' for input argument of type 'double'

6 visualizaciones (últimos 30 días)
jangiti
jangiti el 21 de Ag. de 2015
Comentada: Adam el 21 de Ag. de 2015
undefined function or method 'unit8' for input argument of type 'double'

Respuestas (1)

Steven Lord
Steven Lord el 21 de Ag. de 2015
To convert to an unsigned 8 bit integer use "uint8" not "unit8". Note the difference in spelling.
  3 comentarios
Sean de Wolski
Sean de Wolski el 21 de Ag. de 2015
Editada: Sean de Wolski el 21 de Ag. de 2015
I've done this at least high in the two digits, possibly low three digits number of times.
Though it looks like autocorrect picks up on it now :)
Why yes, I did!
Adam
Adam el 21 de Ag. de 2015
Yes, I have done that countless times too, although I always hit the up-arrow too quickly to correct my mistake before realising Matlab did it for me and then I can't retrieve the correction with a down-arrow again :(

Iniciar sesión para comentar.

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by