Face recognition using eigenvalues code...PLEASE HELP!!
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Tushar Athawale
am 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 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!