How to convert or extract arrays from a structure?
22 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Matt J
le 25 Oct 2019
Modifié(e) : Matt J
le 25 Oct 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;
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Discrete Multiresolution Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!