HOW TO GET FFT

조회 수: 5 (최근 30일)
Andreas
Andreas 2012년 4월 9일
답변: Sabin 2025년 6월 26일
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

답변 (1개)

Sabin
Sabin 2025년 6월 26일
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.

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by