フィルターのクリア

simple question about cell array resizing

1 回表示 (過去 30 日間)
ludvikjahn
ludvikjahn 2015 年 3 月 6 日
回答済み: Andrei Bobrov 2015 年 3 月 6 日
Just a simple question:
I have
A={[1,2]';[3,4,5,6]'}'
and want to transform it into a cell array:
A={[1,2,3,4,5,6]'}'
which is the fastest way to get it?
Thanks

採用された回答

Andrei Bobrov
Andrei Bobrov 2015 年 3 月 6 日
out = {cat(1,A{:})}

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by