www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/IdentityVectorExample.m

    %% Identity Vector  
% Create a 3-by-1 identity vector.   

%%  
sz = [3,1];
I = eye(sz)