Face recognition using eigenvalues code...PLEASE HELP!!
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am creating a code that will implement face recognition using eigenvalues and eigenvectors. The code was copied from a textbook so I am not sure what I am doing wrong. This is the error that I get:
Error using * Inner matrix dimensions must agree.
Error in eigenfaces (line 43) proj_a=a*V
0 Commenti
Risposte (1)
Tushar Athawale
il 25 Nov 2015
I understand that you are encountering an error when trying to execute a MATLAB script that involves eigenvalue and eigenvector computations.
In your example, the most likely reason for the error is that the number of columns of Matrix 'a' is not equal to the number of rows of matrix 'V'. Please make sure that the number of columns of 'a' is equal to the number of rows of 'V'. The MATLAB Newsgroup post in the following link provides a similar explanation:
You can check the size of matrices 'a' and 'V' using the MATLAB "size" function.
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!