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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by