convert array in matrix

1 回表示 (過去 30 日間)
elisa ewin
elisa ewin 2016 年 6 月 15 日
回答済み: Azzi Abdelmalek 2016 年 6 月 15 日
Hi! I want to trasform the cell arrays attached in a matrix, can you help me?

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 6 月 15 日
load matlab
a=cell2mat(pairs(:,1))
b=pairs(:,2)
b=cell2mat([b{:}]')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by