Is there a way to remove double from the variable?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
In the workspace, my variable is: lableimage < 359x476x3 double > Whenever I reshape it into a single column, the result is not 170884x1 but 512652x1. Also, because its double, the LDA is not working. Any suggestions?
8 comentarios
Walter Roberson
el 24 de En. de 2013
The mtimes problem is being discussed in another earlier thread.
Respuesta aceptada
Walter Roberson
el 24 de En. de 2013
To convert an array such as labelImage from being double to being uint8, use
newArray = uint8(labelImage);
Más respuestas (0)
Ver también
Categorías
Más información sobre Statistics and Machine Learning Toolbox 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!