Code covered by the BSD License  

Highlights from
MATLAB 7 Fundamentos

image thumbnail

MATLAB 7 Fundamentos

by

 

09 Aug 2004 (Updated )

Companion Software for the book "MATLAB 7 Fundamentos"

cap3_for_exemplo (n)
% cap3_for_exemplo ()
% gera matriz diagonal (n+1,...,n+n)
function R = cap3_for_exemplo (n)
for i=1:n
    R(i,i)=i+n;
end 

Contact us