Bonjour,
Quelqu'un peut m'expliquer ce bout de code, c'est en Matlab:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 for i=1:NN axis([0 20 0 20]) [x(i),y(i)]=ginput(1); plot(handles.axes1,x,y,'*g') end axis([0 20 0 20]) hold on t=1 xlabel('X(m)') ylabel('Y(m)') set(handles.xi,'string',num2str(x,'%10.1f')); set(handles.yi,'string',num2str(y,'%10.1f'));
Partager