How can I create a matrix from my current data.
Afficher commentaires plus anciens
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
Réponses (1)
Azzi Abdelmalek
le 7 Nov 2014
data=reshape(A,60,24)'
Catégories
En savoir plus sur Tables dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!