Hi I wanted to save values obtained from ginput inside a loop and create an array with those, my for loop looks like:
figure('Position',[1 1 scrsz(3)*0.9 scrsz(4)*0.9]);
plot(t*1000, TRnorm(:,index), 'b');
plot(t*1000, TRACES(:,index)/max(TRACES(:,index)), 'k');
plot([T(index) T(index)],[1 -1], 'r');
title(['Shot at ',D,' m and geophone at ', num2str(x(index)),' m'])
So as i do get 24 images one by one and get to select a ginput point in each, it doesn't save the values in A and B. I would like to store all the values of B and A I selected in arrays, how can i do that?