Code for solving 2 b) in MATLAB

 采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-9-13
编辑:KALYAN ACHARJYA 2019-9-13

0 个投票

ifourier Have you looked here ?

2 个评论

I tried using piecewise to define the function. But then, I am not able to use either ifourier or ifft to find the inverse Fourier Transform
piecewise() is part of the Symbolic Toolbox, which uses fourier() and ifourier()
However, ifourier() is unable to handle this particular case if you write it in piecewise(). It can, however, handle if if you write the expression in terms of heaviside() -- but you do have to be careful about the boundary conditions: check out sympref('heavisideatorigin')

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by