フィルターのクリア

To store many double arrays in a double array

5 ビュー (過去 30 日間)
Khaing Zin Htwe
Khaing Zin Htwe 2016 年 4 月 20 日
コメント済み: Khaing Zin Htwe 2016 年 4 月 22 日
Dear all, Could you please help me how to store many double arrays in a single array? I have many double arrays with dimensions 1x512 .I want to store these array in a single array.How can I do it,please? Thanks all.

採用された回答

Jan
Jan 2016 年 4 月 21 日
a = rand(1, 512);
b = rand(1, 512);
c = rand(1, 512);
M = [a; b; c]
Having "many" variables sounds like a bad idea. Note that the matrix is more practical.

その他の回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 4 月 20 日
編集済み: Azzi Abdelmalek 2016 年 4 月 20 日
  5 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2016 年 4 月 21 日
You said it worked!
Khaing Zin Htwe
Khaing Zin Htwe 2016 年 4 月 22 日
I meant storing many arrays with same dimension to a single array was okay. But not for different dimensions. It says that " dimensions are not consistent".THanks sir.

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by