Code for solving 2 b) in MATLAB

조회 수: 1 (최근 30일)
Somdyuti Das Adhikary
Somdyuti Das Adhikary 2019년 9월 13일
댓글: Walter Roberson 2019년 9월 13일
2019-09-13 (2).png

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 9월 13일
편집: KALYAN ACHARJYA 2019년 9월 13일
ifourier Have you looked here ?
  댓글 수: 2
Somdyuti Das Adhikary
Somdyuti Das Adhikary 2019년 9월 13일
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
Walter Roberson
Walter Roberson 2019년 9월 13일
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개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by