dealing with cell and collect them

6 ビュー (過去 30 日間)
b.m.n n
b.m.n n 2018 年 10 月 4 日
回答済み: b.m.n n 2018 年 10 月 4 日
I have a cell including 47 cells Like this
And the data inside is like that
Is there a way to collect (column 2 and 1 )data for all cells into one file or table Any idea or information may help me Thank you so much

採用された回答

Walter Roberson
Walter Roberson 2018 年 10 月 4 日
col2 = cell2mat( cellfun(@(C) C(:,2), ST1, 'uniform', 0) );
And similar with 1 for column 1.
You switched images shortly after you posted; in the original image you posted, cell entry #6 was something-by-1 instead of 6 by 3, so be cautious that your data is uniform (as it appears to be in your revised image.)

その他の回答 (1 件)

b.m.n n
b.m.n n 2018 年 10 月 4 日
Thank you so much
This code has been well with complete data

カテゴリ

Help Center および File ExchangeRead, Write, and Modify Image についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by