This code is based on a filter designed with below filter coefficients. The FFT on a real signal (w/o imaginary elements) is perfectly symmetric. Real signal = The abs value of FFT It also could be ...
%TEST_EXAMPLE_PULSE Example for a pulse transmission through a transformer. % Create PWM voltage pulse in frequency domain. % Apply the voltage pulse to the transfomer. % Compute the IFFT. % Plot the ...