dspdata display units for spectrum
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How can I change dspdata spectrum units, its in dB (dB/Hz for PSD), I would like the spectrum in real units.
0 commentaires
Réponse acceptée
Honglei Chen
le 18 Juin 2013
The data itself is saved in linear scale, not dB scale. It is only the plotting that displays the value in dB scale. You can try the following:
h = psd(spectrum.periodogram,randn(1024,1));
plot(h.Frequencies,h.Data);
This way the yaxis is in linear scale.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Parametric Spectral Estimation dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!