MATLAB: Help me in following lines code

homoography

A(1:2:2*n,1:2) = pts1';
and
H = reshape(evec(:,1),[3,3])';
what is the meaning

Best Answer

The ' operator is the conjugate transpose.
The = operator is assignment.
1:2:2*n means 1, 3, 5, 7, ... 2*n
evec(:,1) means row 1 of evec.
reshape() with [3,3] means to reorganize the content as a 3 x 3 matrix, going down the columns first (e.g., [1 2 3 4 5 6 7 8 9] would become [1 4 7; 2 5 8; 3 6 9]