[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why does invert fft not work?
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: why does invert fft not work? |
Date: |
Wed, 24 Nov 2010 21:27:04 -0600 |
On 24 November 2010 20:26, <address@hidden> wrote:
> for example:
> s=sqrt(2)*cos(2*pi()*[1:1000]/1000);
> sn=s+.001*sqrt(1000/2)*randn(1,1000);
> b=sqrt(2)*fft(sn)/1000;
>
> invoking
> snew=ifft(b);
>
> does NOT reproduce sn or s in any way shape or form!
Well, you're not doing ifft(fft(sn)), so I don't see why you expect
that to be sn, and sn and s are completely unrelated. I'm confused
what the goal is.n
- Jordi G. H.