Plotting a continuous signal in the frequency domain

3 views (last 30 days)
David on 5 Aug 2011
Hello all,
I have simulated a single phase electrical distribution network in simulink using the SimPowerSystems library and I need to perform some signal analysis on it. I need to obtain a plot of the electrical signal (either voltage or current) in the frequency domain however this is proving rather difficult as it is a continuous signal.
I have been using the FFT magnitude block with a zero order hold and buffer fed into a vector scope with a frequency input domain. This setup works fine when I simulate the system with a discrete signal input. Once I change the signal to continuous, after making a few adjustments to some of the blocks' settings, I get a blank plot.
Can anyone help me remedy this problem?

Accepted Answer

Arnaud Miege
Arnaud Miege on 5 Aug 2011
Use the FFT Analysis in the PowerGUI block. See Performing Harmonic Analysis Using the FFT Tool in the documentation for more details. You'll probably need to discretize your electrical network with the PowerGUI first. The demo model power_bridges shows an example of that.
  1 Comment
David on 13 Aug 2011
Sorry for the late reply. I followed your advice and everything is working well.
Much appreciated

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!