필터 지우기
필터 지우기

Multiple .DAT files

조회 수: 1 (최근 30일)
Oliver
Oliver 2012년 2월 9일
Hello, i'm relatively new to using matlab and was wondering if any one could help me?
I have a large file of data containing around a thousand .dat files all with information I need to extract into separate variables. The file names are all in the format,
data_1995-01-01_metric.dat
data_1995-01-02_metric.dat
etc
There is supposed to be a file for each day of the year but some files are missing and I need them to be replaced with zeros so I can create a time series for a year. All files have the same amount of characters. I'm having trouble creating a loop to read all the data, can anyone help me out?
Many thanks

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by