HOW TO GET FFT
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I need to get hte fft of a voltage, measured with voltage sensor(simscape) and then ps-to-simulink converter. The command window in matlab shows: "Warning: Reported by S-Function 'sdspfft2' in 'pwm_control_2/FFT': Computing the FFT of a scalar input."
Do I need to set some settings insode the fft block, or better use another FFT block (e.g. from simpower). For the data types do I need to specify something or leave it as is (inherit..)?
Thanks for helping
0 commentaires
Réponses (1)
Sabin
le 26 Juin 2025
Without a model we can only speculate. One way to analyze this can be by data loging and then running fft in MATLAB instead of trying to compute it on the fly. In Simscape Electrical includes the Fourier Analysis block that performs a Fourier analysis on the input signal in either discrete or continuous time.
0 commentaires
Voir également
Catégories
En savoir plus sur Sensors 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!