how to process this in matlab?

i have 500 files in ascii format and each ascii file has different names with (20000*50).i need to find mean,min,max,std for each column(1 to 50) and save them with file name as first followed by values,
ex:
DATA_201403051101 2.50 1.00 14.00 4.95.....(1*201)
this to be done for 500 files..so my output will in one excel file
my ouput for 500 files like:
DATA_201403051101 2.50 1.00 14.00 4.95.....(1*201)
DATA_201403051203 6.53 2.00 22.00 8.25.....(1*201)
.
.
DATA_201403051101 2.50 1.00 14.00 4.95.....(1*201)

4 comentarios

Muhammad Imran
Muhammad Imran el 5 de Mzo. de 2014
you can use feval function It could help you in accessing the file data and computing automatically If not let me know the problem in detail
Iain
Iain el 5 de Mzo. de 2014
What part do you need help with?
sandy
sandy el 5 de Mzo. de 2014
@imran..im new to matlab.i dono how to use feval for my case.
sandy
sandy el 5 de Mzo. de 2014
@lain....i need help in the whole part.

Iniciar sesión para comentar.

 Respuesta aceptada

Image Analyst
Image Analyst el 5 de Mzo. de 2014

0 votos

Look up input functions: importdata(), dlmread(), csvread(), textscan(), fgetl(). Which you might use depends on what form your input files are in.
Then look up min(), max(), mean(), std() in the help.

Más respuestas (0)

Etiquetas

Preguntada:

el 5 de Mzo. de 2014

Respondida:

el 5 de Mzo. de 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by