I am trying to do harmonic analysis of Input current for component based model in Simulink and trying to produce results as shown in figure. I tried to use FFT tool in Simpowersystems power GUI, but it allows plotting Amplitude as percent of fundamental. Alos I need to plot phase angles w.r.t Harmonic order.
My question is how to can I plot this current magnitude (A) and Phase angles against Harmonic order. Also I need to plot results from three different runs of the simulation on same figure. So using FFT tool might not be helpful and fft dat has to be seperated in Harmonic order bins in stead of being plotted against frequencies.
Can you please give me a clue to get this plot?