Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet


Discussion Groups

Discussion Groups | Matlab DSP | importing data from a text file using textscan

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

importing data from a text file using textscan - mames5 - May 30 11:58:04 2008



Hi,
I am trying to import data from a text file containing multiple time
snapshots using the textscan function.  Each time snapshot is preceded
by "time = #" and contains multiple columns of numbers (each column
ultimately represents a different variable). Here is roughly what it
looks like:

time = \n  #  #  \n  #  #  \n  #  #  #

time = \n  #  #  \n  #  #  \n  #  #  #

etc.

I want to use the textscan function to import all the data for one
snapshot (between two "time = #" lines), but I do not want to import
the # following "time =".  Any help will be greatly appreciated.

Thanks,

Morgan


(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )