How to convert or extract arrays from a structure?
26 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
In continuous wavelet analysis, when we export the coefficients into the workspace, the data is exported as a structure (1x1 struct). It has three fields as follows with their values:
coefs 32 x 9957
scales 1x32
wname 'gaus1'
Thanks.
0 Commenti
Risposta accettata
Matt J
il 25 Ott 2019
Modificato: Matt J
il 25 Ott 2019
S.coefs already is an array. If you mean that you want it in a separate non-struct variable, simply assign it to something,
coefficients=S.coefs;
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Discrete Multiresolution Analysis 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!