Hey we are doing our final year project in image processing.Currently we are facing problems in the implementation phase. for finding the orientation field estimation, i downloaded this code from the net but it isnt running properly. It is giving this error-
Index exceeds matrix dimensions.

Error in ==> orientation at 44
[u,v] = pol2cart(center(:,3),8);

what do i do???
please help me
Imy email address is shrutihrsharma@outlook.com