フィルターのクリア

output of inverse fourier command not giving expected result in MATLAB?

2 ビュー (過去 30 日間)
ABTJ
ABTJ 2019 年 5 月 14 日
コメント済み: Walter Roberson 2019 年 5 月 14 日
I am reading book of alex palamides chapter 6 fourier transform and i am trying to compute inverse transform of a function but when i write the code of book in MATLAB,i do not get expected answer(as written in book)
Snapshot of book attached and output of inverse fourier command is highlighted(it contains heaviside term)
but when i write same code in my MATLAB , i get answer = (exp(-t)*(sign(t) + 1))/2
my code is as follow:
clc
clear all
syms w t
X=1/(1+j*w);
ifourier(X,t)
Capture.PNG

採用された回答

Walter Roberson
Walter Roberson 2019 年 5 月 14 日
The expressions are equivalent when you use the definition that Heaviside at 0 is 1/2 (there is more than one way to define Heaviside(0))
You might be to use the rewrite() 'heaviside'
  2 件のコメント
ABTJ
ABTJ 2019 年 5 月 14 日
can you please guide me ,how to use, rewrite() in this scenario
Walter Roberson
Walter Roberson 2019 年 5 月 14 日
rewrite(ans, 'heaviside')

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by