To store many double arrays in a double array
    7 ビュー (過去 30 日間)
  
       古いコメントを表示
    
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.
0 件のコメント
採用された回答
  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.
0 件のコメント
その他の回答 (1 件)
  Azzi Abdelmalek
      
      
 2016 年 4 月 20 日
        
      編集済み: Azzi Abdelmalek
      
      
 2016 年 4 月 20 日
  
      a=[1 2 3]
b=[4 5 6]
c=[a b]
5 件のコメント
参考
カテゴリ
				Help Center および File Exchange で Logical についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!