Code covered by the BSD License  

Highlights from
MATLAB 7 Fundamentos

image thumbnail
from MATLAB 7 Fundamentos by Elia Matsumoto
Companion Software for the book "MATLAB 7 Fundamentos"

[x,y]=cap6_ginput_exemplo(n)
% cap6_ginput_exemplo
function [x,y]=cap6_ginput_exemplo(n)
plot(rand(1,10))
display(['Entre ' num2str(n) ' pontos.']);
[x,y]=ginput(n);
hold
plot(x,y,'*')

Contact us at files@mathworks.com