automation of loading multiple data file and fitting in separate directories



Hi all,
I am wondering if anyone could help me with loading data files and
plotting them in matlab. I am pretty new to matlab.

I have data files (ASCII) from simuation experiments which are
organized as below:

1. each data has some heading for parameter values, and so on (29
lines ) and actual data starts from 30th line in 3 column. first
column is time and the rest two columns are data of interest.

2. 10 data files in one direcotory. The name of the directory
corresponds to some specific parameter I am varying.

3. As of now the number of directories is 10 but it wil be increasing.


So I want to write a script which does the following jobs:

1. opens ten files in the directory and plot them in one graph if I
assign the directory name. 2. When loading the data, probably I have
to tell matlab to start reading the data from 30th line. I don't know
how.
3. I want to define samping frequency when plotting. Say plot every
third value.
4. I want to to plot all ten files in one graph using scatter plot and
also the mean at each time point using solid line.

I would really appreciate it if anyone could help me wirte the script.

.



Relevant Pages

  • filename.xml.00 vs filename.00
    ... I have a stack of data files in the same folder. ... and I am trying to read those files in matlab using textread function. ... Although I can just deleet those .xml file and just use files without ... I would like to konw how to set matlab function just to read ...
    (comp.soft-sys.matlab)
  • Re: Total addressable by XP....RAM+Page file=4 gigs?
    ... to use matlab to crunch data. ... The data files are typically 3 ... - 4 gigs and matlab sometimes demands up to 13 gigs to open and ... We have 6 gigs of hard ram and set the swap to ...
    (microsoft.public.windowsxp.general)
  • Call Java from Matlab
    ... I'm working with Matlab R2006b on Windows. ... NetCDF Java package to access to data files for read and write. ...
    (comp.soft-sys.matlab)
  • Plot large 4d data file
    ... I am trying to plot a rather large dataset of 4d data. ... Which worked perfectly for smaller data files. ... three dimensional data command, ... using MATLAB: ...
    (comp.soft-sys.matlab)
  • Saving Mixed Data types to the same file
    ... I am working with a legacy program (Fortran). ... I am trying to use matlab to generate the data files the legacy program uses. ... When I use 'save' in matlab, it saves in form the data is defined as within matlab. ...
    (comp.soft-sys.matlab)