I want to cancel the negative sign out of IFFT

2 views (last 30 days)
I want to cancel the negative signal out of IFFT and allow the positive signal to pass and add DC-bias in the output signal 111.jpg

Accepted Answer

madhan ravi
madhan ravi on 4 Jan 2019
help abs

More Answers (1)

Walter Roberson
Walter Roberson on 4 Jan 2019
max(0, xt)
However you appear to want to work at the Fourier level and to transform the coefficients so that ifft of the coefficients will have the required form.
To do that you should convolve with the Fourier transform of the Heaviside function, which you would do by finding the coefficients associated with the transform of the heaviside function , and then multiply those by the input fft transformed signal .
The Fourier transform of the heaviside function is a bit tricky. See below and read through to the Tragedy link.
https://math.stackexchange.com/questions/73922/fourier-transform-of-unit-step

Categories

Find more on Get Started with DSP System Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!