COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### compute dtft using trapz

• Email
• 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

See related articles to this posting

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

```
"yossi kfir" <yossikfir@walla.com> wrote in message
> 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
[Please don't send the information to me directly; by posting to the group,

--
Steve Lord
slord@mathworks.com
http://www.mathworks.com

```
 0
Reply slord (13686) 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 (3011) 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 (8506) 1/10/2012 7:52:13 PM

4 Replies
100 Views

Similar Articles

12/8/2013 5:30:14 PM
page loaded in 40507 ms. (0)