How to create a grid from data in a row?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have got data stored in one row in the columns (24:419). I want to convert this data to a grid with the size 18x22.
Is there any way I could do this?
0 Commenti
Risposta accettata
KSSV
il 5 Feb 2019
A = rand(1000) ;
col = 24:419 ; % your columns
row = 7 ; % your row
B = reshape(A(row,col),18,22) ;
pcolor(B)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!