Is there a way to remove double from the variable?
Show older comments
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 Comments
Jing
on 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
on 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
on 24 Jan 2013
Lester Lim
on 24 Jan 2013
Jing
on 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
on 24 Jan 2013
Walter Roberson
on 24 Jan 2013
The mtimes problem is being discussed in another earlier thread.
Accepted Answer
More Answers (0)
Categories
Find more on Statistical Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!