Hi, I have save matrix's in a variable like Y{1} Y{2} Y{3} Y {4}. up to 100. Each of them consist of 12x50. I want to make a matrix in which all Y are included. Please Help

1 回表示 (過去 30 日間)
I have a matrix of (500*1000). Each value is an annual data. By using Formula, I converted each value into (12*1). To each column is given me (12*500) which i saved like Y{1}, Y{2},...... Y{k}. Now I need a single matrix so that I can used it for calculation. I am first time asking Question here. Thank you
  2 件のコメント
jgg
jgg 2016 年 1 月 22 日
Can you be more clear? What does the code you've posted have to do with your problem? How do you want to combine the Y matrices?
Obaidullah Mohiuddin
Obaidullah Mohiuddin 2016 年 1 月 22 日
I have a matrix of (500*1000). Each value is an annual data. By using Formula, I converted each value into (12*1). To each column is given me (12*500) which i saved like Y{1}, Y{2},...... Y{k}. Now I need a single matrix so that I can used it for calculation. I am first time asking Question here. Thank you

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

採用された回答

Walter Roberson
Walter Roberson 2016 年 1 月 22 日
cat(3,Y{:})
to produce a 12 x 50 x 100 array
  3 件のコメント
Obaidullah Mohiuddin
Obaidullah Mohiuddin 2016 年 1 月 22 日
A{1}=[12*50] A{2}=[12*50] B=[12*100] Is that possible?

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by