File Exchange

image thumbnail


version (3.61 KB) by Rashmil Dahanayake
Performs a FFT analysis for a signal and lists the magnitudes and phase values.


Updated 02 Jun 2014

View License

The original fftscope in simpower systems limits the usage to analyse the signals apart from simulink scopedata format.
This functions enables converts the signal structures into a power_fftscope format and performs fft analysis.
The function essentially a wrap around of power_fftscope which calculates the magnitude ,phase details of harmonic components of a given signal. Could be handy to analyse the electrical waveforms. (eg voltage, current)
Input method:
Where data & time are raw matrix in same length.
eg: fft_list(x,t,'f',50)
use help command for more information.
help fft_list

Note: Simpowersystems toolbox is necessary to run this function. Hence the first run might take few seconds to load up, but consequent runs are normal.

Cite As

Rashmil Dahanayake (2020). FFT_list.m (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

I got following error.
Error using load_system (line 21)
Invalid Simulink object specifier

Error in C:\Program
Files\MATLAB\R2012a\toolbox\physmod\powersys\powersys\private\InitializePowerguiTools.p>InitializePowerguiTools (line 33)

Error in C:\Program Files\MATLAB\R2012a\toolbox\physmod\powersys\powersys\private\power_fftscope_pr.p>power_fftscope_pr (line

Error in power_fftscope (line 20)
[varargout{1:nargout}] = power_fftscope_pr(varargin{:});

Error in fft_list>fft_prep (line 115)
fft_data = power_fftscope(temp);

Error in fft_list (line 32)
temp = fft_prep (signal,time); % ie this contains fft_data from funtion #2

Can you help me to resolve this.

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux