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.
HOW TO GET FFT
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sensors 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!