This question is closed. Reopen it to edit or answer.
Why i get : Matrix dimensions must agree? What is meant by this error?
1 view (last 30 days)
KSSV on 4 Apr 2017
You see in line number 41, the matrices which you are multiplying are not of same dimensions. You have to get them to similar dimension using imresize. Check the attached file, whether it gives expected result.