doop4
Electrical
- May 23, 2006
- 15
hi there! Thanks for this great forum and all you valuable contributors too! lovely job.
I am very very new to MATlab and only really need it to do some graphs for me which excel is unable to cope with (ie. too large data points for a worksheet)
My data is usuaally stored in a notepad file. This .txt file consists of two columns for the X and Y data points. However the file has output from several experiments. let me show you what my text file contains .
*notepad file*
Main Title = one cyc fullsystem.wmd, Amplitude vs Frequency
X Title = Frequency (MHz)
Y Title = Amp.
Legend = T - Rx3.1
0 0.000101
0.00823049 0.000305
0.016461 0.000175
0.0246915 0.000244
0.032922 0.000278
0.0411525 0.000141
0.0493829 0.000122
0.0576134 0.000460
0.0658439 0.000674
.
.
.
Legend = T - Rx3.2
0 0.000316
0.00823049 0.000425
0.016461 0.000181
0.0246915 0.000285
0.032922 0.000248
0.0411525 0.000148
.
.
.
Legend = T - Rx3.3
0 0.000004
0.00823049 0.000174
0.016461 0.000282
0.0246915 0.000142
0.032922 0.000289
0.0411525 0.000108
0.0493829 0.000244
0.0576134 0.000312
and so on
Each data set has quite a lot of data points and so I can't do a copy paste into excel for this reason.
So I was wondering if someone could tell me if I could import this data into Matlab and get matlab to do the plotting for me. ie. can i export this data in the .txt file (with text in it) to Matlab so that it would plot a graph for me.
I've tried to find some help on this on the web and books but have had no luck.
I would very much appreciate some help on this PLEASE PLEASE
I am very very new to MATlab and only really need it to do some graphs for me which excel is unable to cope with (ie. too large data points for a worksheet)
My data is usuaally stored in a notepad file. This .txt file consists of two columns for the X and Y data points. However the file has output from several experiments. let me show you what my text file contains .
*notepad file*
Main Title = one cyc fullsystem.wmd, Amplitude vs Frequency
X Title = Frequency (MHz)
Y Title = Amp.
Legend = T - Rx3.1
0 0.000101
0.00823049 0.000305
0.016461 0.000175
0.0246915 0.000244
0.032922 0.000278
0.0411525 0.000141
0.0493829 0.000122
0.0576134 0.000460
0.0658439 0.000674
.
.
.
Legend = T - Rx3.2
0 0.000316
0.00823049 0.000425
0.016461 0.000181
0.0246915 0.000285
0.032922 0.000248
0.0411525 0.000148
.
.
.
Legend = T - Rx3.3
0 0.000004
0.00823049 0.000174
0.016461 0.000282
0.0246915 0.000142
0.032922 0.000289
0.0411525 0.000108
0.0493829 0.000244
0.0576134 0.000312
and so on
Each data set has quite a lot of data points and so I can't do a copy paste into excel for this reason.
So I was wondering if someone could tell me if I could import this data into Matlab and get matlab to do the plotting for me. ie. can i export this data in the .txt file (with text in it) to Matlab so that it would plot a graph for me.
I've tried to find some help on this on the web and books but have had no luck.
I would very much appreciate some help on this PLEASE PLEASE