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_while_exemplo (n,m)
% cap3_while_exemplo ()
% R: multiplos de n menores que m
function R = cap3_while_exemplo (n,m)
i=1;
R=[];
while i*n < m
    R=[R i*n];
    i=i+1;
end

Contact us