Page 347 - Solutions Manual to accompany Electric Machinery Fundamentals
P. 347

% Plot a closeup of the near spectrum
                 % (positive side only)
                 figure(5);
                 plot(fftshift(fstep),fftshift(abs(spec)));
                 title('\bfSpectrum of Output Voltage for fr = 500 Hz');
                 xlabel('\bfFrequency (Hz)');
                 ylabel('\bfAmplitude');
                 set(gca,'Xlim',[0 1000]);
                 When this program is executed, the input, reference, and output voltages are:



































































                                                           341
   342   343   344   345   346   347   348   349   350   351   352