필터 지우기
필터 지우기

Combining files

조회 수: 2 (최근 30일)
Ram
Ram 2011년 9월 7일
I have 10 files each of which has 2 columns. The column 1 is the same in each of the files (pixel#). Column 2 is the data for each pixel. I need to combine the data set to generate a single file that will have column 1 from the first file (or from any of them since it is the same) and column 2 to 10 with the data from each of column 2 from the 10 data files. Any suggestions on doing this will be much appreciated

채택된 답변

Walter Roberson
Walter Roberson 2011년 9월 7일
importdata() or textscan() or dlmread() to read a file, store the data in an array. When all the files have been read in, write out the array in some appropriate format.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Standard File Formats에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by