compute dtft using trapz

  • Follow


hello
i have some trouble computing dtft of signal x using an approximation  trapz function

any ideas?

thx
yossi
 
0
Reply yossikfir (18) 1/10/2012 12:20:08 PM

?
0
Reply yossikfir (18) 1/10/2012 2:33:07 PM



"yossi kfir" <yossikfir@walla.com> wrote in message 
news:jehado$so4$1@newscl01ah.mathworks.com...
> hello
> i have some trouble computing dtft of signal x using an approximation 
> trapz function
>
> any ideas?

Define "trouble." The more relevant information/code you post to the group 
in your reply the more likely it is someone will be able to help you. 
[Please don't send the information to me directly; by posting to the group, 
many more people will be able to read and potentially help you.]

-- 
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on 
http://www.mathworks.com 

0
Reply slord (13361) 1/10/2012 2:49:19 PM

On Jan 11, 3:33=A0am, "yossi kfir" <yossik...@walla.com> wrote:
> ?

Is the dtft like the cbdf or is it more like the ytiu?
Perhaps you'd like to spell it out?
0
Reply mulgor (2863) 1/10/2012 7:02:37 PM

On 10 Jan, 13:20, "yossi kfir" <yossik...@walla.com> wrote:
> hello
> i have some trouble computing dtft of signal x using an approximation =A0=
trapz function

The problem is that you do things the wrong way.

The DTFT doesn't require an integral to be
computed at all, it's an infinite sum over
discrete elements that is computed for
a continuous w (view with fixed-widt font):

          inf
H(w) =3D    sum     x[n] exp(jw).
        n =3D -inf

(possibly -jw in the exponent, but that
doesn't change the anser to your question).
So there are no integrals to be computed
at all. Only infinitely many infinite sums.

Rune
0
Reply allnor (8474) 1/10/2012 7:52:13 PM

4 Replies
73 Views

(page loaded in 0.103 seconds)


Reply: