Code for solving 2 b) in MATLAB

 Risposta accettata

KALYAN ACHARJYA
KALYAN ACHARJYA il 13 Set 2019
Modificato: KALYAN ACHARJYA il 13 Set 2019

0 voti

ifourier Have you looked here ?

2 Commenti

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')

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by