We create plots from vectors x and y. Is the reverse possible? Can you first draw a curve using cursor in the figure palette and then create vectors x and y from it?
조회 수: 1 (최근 30일)
이전 댓글 표시
We create plots from vectors x and y. Is the reverse possible? Can you first draw a curve using cursor in the figure palette and then create vectors x and y from it?
댓글 수: 0
채택된 답변
KSSV
2017년 11월 17일
figure
axis([0 10 0 10])
N = 5; % number of poins
title('click anywhere') ;
[x,y] = ginput(N) ;
plot(x,y) ;
댓글 수: 0
추가 답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!