Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
dpb
Posts:
6,680
Registered:
6/7/07
|
|
Re: Simple read of text file into Matlab
Posted:
Mar 5, 2013 9:10 AM
|
|
On 3/5/2013 5:32 AM, Jean wrote: > Hello. I have a question which is probably very basic but I have been > struggling with for a bit. I have a text file, mostly with small > exponential numbers, formatted something like this: > > Time/s, i1/A, i2/A, i3/A, i4/A, i5/A, i6/A, i7/A, i8/A > > 1.000e-1 9.980e-6 1.894e-6 4.907e-7 2.109e-6 2.906e-6 1.100e-6 3.335e-7 > 1.625e-6 > 2.000e-1 9.980e-6 1.289e-6 4.032e-7 1.299e-6 1.873e-6 8.481e-7 2.846e-7 > 1.102e-6 ...
> > with the time as the first column, each 'i/A' value is another column so > there are 9 columns. the columns are very long. I want to import these > into Matlab to graph and further manipulate for some calibration etc > later. I have tried textscan, fileID commands for opening and extracting > etc but can't seem to capture the exponential values correctly. Can > someone help? Using a Mac OS.
Shouldn't be any problem at all...show what you tried and the results...
--
|
|
|
|