One command to extract all the data
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have data that looks like the image above. Could anyone please help me what command to use to extract all the data? I did it manually using the code below. But, I have another data that is up to val(:,:,365), so any help is greatly appreciated.
sla=ncread('cmems_obs-sl_glo_phy-ssh_my_allsat-l4-duacs-0.25deg_P1M-m_1639987960602.nc','sla');
A1=sla(:,:,1)';
A2=sla(:,:,2)';
A3=sla(:,:,3)';
A4=sla(:,:,4)';
A5=sla(:,:,5)';
A6=sla(:,:,6)';
A7=sla(:,:,7)';
A8=sla(:,:,8)';
A9=sla(:,:,9)';
A10=sla(:,:,10)';
A11=sla(:,:,11)';
A12=sla(:,:,12)';
slaData=vertcat(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12);
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Annotations 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!