フィルターのクリア

To David Sanchez. Thank you very much for the answer. If you don't mind please elaborate it.

2 ビュー (過去 30 日間)
I use windows7. This is the place where I saved my data files. 'C:\Users\SRINATH KOMPELLA\Documents\MATLAB\Data. Inside the folder Data. Names of the data files are like this ioutput0257.dat , ioutput0462.dat, ioutput0488.dat, ioutput0645.dat, ioutput0798.dat, ioutput0825.dat. These are randomly picked examples. The actual files are named from 0001 to 0900. In each data file there are nx8 arrays (where n is a varying number of the order 1000). Of those,I have to pick up the 3th and 5th column as input for my program. You can also write to my mail. srinathkompella1993@gmail.com

採用された回答

Iain
Iain 2013 年 6 月 5 日
a = dir('C:\Users....\Data\*.dat');
for i = 1:numel(a)
filename = ['C:\Users...\Data\' a(i).name];
... code to read filename (you know the format)
needed_data = read_data(:,[3 5]);
... code to pass the needed data to the program, or stack it in a matrix...
end

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by