Prev: Confirming parameters of FMINSEARCH
Next: mex fortran
From: Jimmy on 19 Apr 2010 21:02 I looked under the mask of discrete fourier simulink block under Simpowersystem and I don't understand what algorithm is used to compute the magnitude and phase of a signal. Let t be the simulation time and suppose we are interested in fundamental freq of 60Hz (first harmonic): - To get the real part, it multiplies the input signal by 2*sin(2*pi*60*t) and then takes the mean to get the real part. - To get the imaginary part, it multiplies the input signal by 2*cos(2*pi*60*t) and then takes the mean to the imaginary part. I don't understand why this process works. What algorithm is this? Can somebody explain? Thanks
|
Pages: 1 Prev: Confirming parameters of FMINSEARCH Next: mex fortran |