automation of loading multiple data file and fitting in separate directories
- From: "Jonie" <kimfinale@xxxxxxxxx>
- Date: 31 Mar 2006 08:01:01 -0800
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.
.
- Follow-Ups:
- Prev by Date: Re: TMW please, hadn't we have enough of this spam
- Next by Date: Re: Datatypes
- Previous by thread: Matlab Viewer?
- Next by thread: Re: automation of loading multiple data file and f
- Index(es):
Relevant Pages
|