Clear Filters
Clear Filters

powergui block in simulink

12 views (last 30 days)
Mudasir Ahmed
Mudasir Ahmed on 10 Jul 2015
Commented: Tony Castillo on 7 Dec 2016
hi
i have a data and i want to apply fft on it using powergui block , can any one knows hows it works. the values are stored in a variable. how to call variable in powergui block and apply fft analysis. kindly help me.
regards mudasir

Accepted Answer

Sebastian Castro
Sebastian Castro on 10 Jul 2015
You need to save data using a Scope block, ensuring that the data is formatted as a "Structure with Time". Search this documentation page for "History pane" and you'll see how to do this.
Once you've run this model and the scope data gets saved to the workspace, you should see it in the powergui block's FFT tool. You can then follow the steps as shown here.
- Sebastian
  2 Comments
Mudasir Ahmed
Mudasir Ahmed on 10 Jul 2015
Edited: Mudasir Ahmed on 10 Jul 2015
dear sir,
actually my program is written in .m file (script file). how sir, i display it in scope?
i have variable which stores values of voltages with harmonics like
optimumv = 92.1596 -1.3810 -1.1094 2.7546 -0.2628
1st=92.1596
5th harmonic=-1.3810
7th harmonic=-1.1094
11th harmonic=2.7546
13th harmonic=-0.2628
i want to apply fft on above data. is this possible sir, i want a view of output as attached?
Tony Castillo
Tony Castillo on 7 Dec 2016
Hi Sebastian Castro, i've seem your blog, and that's why i ask you for help, because you also work with phisycal modelling, please refer to this link to understand my doubts about SPS, http://es.mathworks.com/matlabcentral/answers/315484-is-it-possible-a-buck-converter-in-discrete-time-not-in-continuos-solver

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!