How can I create a matrix from my current data.
이전 댓글 표시
Hi, I badly need some help.
I have a data like this.
R01C01 , R01C02 , R02C03 , R02C04, ... ,R24C60
3.57 , 4.75 , 2.0 , 1.87 ,..., 3.98
As a 2 row, xxx columns cell (Let's name it A)
The first row of data represent the location of data and the second row is the value to be show in that location on table.
The table on my GUI will be 24 row x 60 column, the row start from 1 to 24 (bottom to top) and the column start from 1 - 60 (Left to right)
How could I make a 24x60 matrix from A before send it to show on my GUI?
*Note*** Some position might be blank because of no data...
Thanks, Pong
답변 (1개)
Azzi Abdelmalek
2014년 11월 7일
data=reshape(A,60,24)'
카테고리
도움말 센터 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!