Numerical Approximation to the continuous time fourier transform

Calculate samples Y(jw_k) by typing Y=fftshift(tau*fft(y))
>> syms t; >> format compact >> x=symfun(exp(-2.*abs(t)),t); >> y=symfun(x(t-5),t); >> tau=0.01; >> T=10; >> t=[0:tau:T-tau]; >> N=T/tau; >> Y=fftshift(tau*fft(y)) Undefined function 'fft' for input arguments of type 'symfun'.
Not sure what I am doing wrong, I am using Matlab 2016a.

1 件のコメント

Karan Gill
Karan Gill 2017 年 10 月 16 日
Please format your question. It's hard to read.

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

回答 (1 件)

Ahmed raafat
Ahmed raafat 2017 年 10 月 16 日

0 投票

the error is saying that it can't use fft for syms type
check what fft work on from this page

カテゴリ

ヘルプ センター および File ExchangeFourier Analysis and Filtering についてさらに検索

質問済み:

2017 年 10 月 16 日

回答済み:

2017 年 10 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by