Is there a way to remove double from the variable?
Afficher commentaires plus anciens
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 commentaires
Jing
le 24 Jan 2013
The variable size is 359x476x3, which contains 512652 elements, so it's reasonable to be 512652x1 when you reshape it to a single column.
What is LDA? Is it Linear Discriminant Analysis? What function do you use to perform LDA?
Lester Lim
le 24 Jan 2013
Can you put your code that generate the error as well as the error message?
Suggestion for posting questions here: please state your question as clear as possible, so that others can understand or even reproduce your problem, which will help to solve it quickly.
Lester Lim
le 24 Jan 2013
Lester Lim
le 24 Jan 2013
Jing
le 24 Jan 2013
Well, from such a long page of code, which line gives the error?
I thought you were using CLASSIFY to do LDA...
Lester Lim
le 24 Jan 2013
Walter Roberson
le 24 Jan 2013
The mtimes problem is being discussed in another earlier thread.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Statistical Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!