Hi! I want to trasform the cell arrays attached in a matrix, can you help me?

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 6 月 15 日

1 投票

load matlab
a=cell2mat(pairs(:,1))
b=pairs(:,2)
b=cell2mat([b{:}]')

その他の回答 (0 件)

カテゴリ

ヘルプ センター および 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