hi,how to convert 6x6 cell into 1x36 cell in matlab

1 回表示 (過去 30 日間)
kaavya subramani
kaavya subramani 2016 年 11 月 22 日
コメント済み: kaavya subramani 2016 年 11 月 22 日
(i.e) i need answer all cells in single row

採用された回答

KSSV
KSSV 2016 年 11 月 22 日
編集済み: KSSV 2016 年 11 月 22 日
k = cell(6,6) ;
for i = 1:6
for j = 1:6
k{i,j} = rand(3) ;
end
end
iwant = reshape(k,1,[]);
or
iwant = k(:)' ;
doc reshape.
  1 件のコメント
kaavya subramani
kaavya subramani 2016 年 11 月 22 日
Superb..................

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDenoising and Compression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by