Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

how to define face affine matrix

Asked by venkat vasu on 5 Feb 2013

Hi every one...

I have a collection of face image and name i need to match the correct name for that first we need to define both face and name affine matrix or adjacency matrix. how can i implement the matrix please give me any help or some best links

and example matrix are

       face1 face2 face3
face1  0.18   0.04  0.147
face2  0.04   0.01  0.001
face3  0.12   0.007  0.157

than you in advance....

0 Comments

venkat vasu

Products

No products are associated with this question.

1 Answer

Answer by Azzi Abdelmalek on 5 Feb 2013
face={'face1','face2','face3'} 
x=1:3  % corresponding to face1,face2 and face3
y=1:3   %corresponding to face1, face2 and face3
[xx,yy]=meshgrid(x,y)
zz=[ 0.18   0.04  0.147
   0.04   0.01  0.001
   0.12   0.007  0.157]

0 Comments

Azzi Abdelmalek

Contact us