creating function matlab code

How can write a function DFT(x) (in terms of jw) such that for the given discrete signal x[n]:

7 件のコメント

Walter Roberson
Walter Roberson 2018 年 5 月 18 日
What is w in this context?
Walter Roberson
Walter Roberson 2018 年 5 月 18 日
Is x[n] intended to indicate x multiplied by floor(n)? Because if it is intended to indicate indexing then you cannot index at infinity.
geometry geometry
geometry geometry 2018 年 5 月 18 日
編集済み: geometry geometry 2018 年 5 月 18 日
no x[n] is a discrete type signal. and DFT is the Fourier transform of x[n]. (w is frequency variable)
Guillaume
Guillaume 2018 年 5 月 18 日
A discrete transform is by definition over a finite discrete domain, not -∞, +∞.
The discrete fourier transform is the fft function in matlab. Is that what you're asking?
geometry geometry
geometry geometry 2018 年 5 月 18 日
I don't want to use fft. the signal x[n] is zero for large n. (for example we can assume that x[n]=0 for n<-100 and n>100).
the result of DFT should be in terms of w.
Guillaume
Guillaume 2018 年 5 月 18 日
I think you need to explain in a lot more details what it is you're after. Perhaps, give some concrete examples.
I don't want to use fft. Why not? This gives you the frequencies (ω) of your discrete signal.
geometry geometry
geometry geometry 2018 年 5 月 18 日
I'm going to plot DFT.
Because my project says to do it without using fft.

回答 (0 件)

この質問は閉じられています。

質問済み:

2018 年 5 月 18 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by