MATLAB Answers

0

creating function matlab code

Asked by geometry geometry on 18 May 2018
Latest activity Edited by KALYAN ACHARJYA on 18 May 2018

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

  7 Comments

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.

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.

I'm going to plot DFT.

Because my project says to do it without using fft.

Sign in to comment.

1 Answer

Answer by KALYAN ACHARJYA on 18 May 2018
Edited by KALYAN ACHARJYA on 18 May 2018

Do you know how to calculate DFT of x=[1,0,-1,0], Do it manually (On paper) and implement it in Matlab. During Implementation, if you find any difficulty, then share on the Matlab Answer Platform.

  0 Comments

Sign in to comment.