I am trying to plot a huge signal to do some time analysis. Here's a piece of my code.
asig = csvread('tek0001CH1.csv',15,0);
aamp = asig(1:5000000,2);
ts = asig(2,1) - asig(1,1);
tim = [0:5000000 - 1]*ts;
time = tim';
ax1 = subplot(2,1,1);plot(time, aamp);
axis([0 max(tim) -0.1 1.9]);
If I have to change my input signal, I have to change it every time since its hard coded. Is it possible to have an interface where the user selects an input signal from the hard drive or an external interface(usb drive)each time the program runs?