Is there a way to remove double from the variable?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Walter Roberson
il 24 Gen 2013
To convert an array such as labelImage from being double to being uint8, use
newArray = uint8(labelImage);
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!