I have a txt file with the following values on each line:
SRNO Value1 Value2
There are around 2000 such lines.
I would like to plot both Value1 and Value2 in MATLAB
Any code on how I could do it? Thanks
Plotting is straightforward:
plot(xvec,yvec)
The real problem you have is trying to read the values into the program at all. Check out the csvreader functions or file reading in the help documentation. csvread() help docs looks like it requires a real comma separated values file, but the help dox link to textscan() which looks better:
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/textscan.html