Re: I need help with this simple fourier transform



On Oct 23, 10:05 pm, NZTideMan <mul...@xxxxxxxxx> wrote:
On Oct 23, 9:38 pm, "diego sened" <diego9...@xxxxxxxxx> wrote:

Sorry, i'm a n00b Rolling Eyes

Consider this analog signal xa(t) = sin(20*pi*t + pi/4) with t included between [0,1].
If we sample it with Tsample= 0.05, we will have x(n).
Now calculate fourier transform both for xa(t) and x(n).

For xa(t) i tried:
t=[0:0.001:1];
xa =sin(20*pi*t + pi/4);
then Xa= fft(xa);
f=t;
but doing plot(f,abs(Xa)) i see only two dirac delta on 0 and 1.... and it's not right. Please help me!

Hey Diego
Why didn't you continue with the posting you started earlier?
Two dirac deltas is exactly what I'd expect, one at +0.05Hz and the
other at -0.05Hz.
Your problem is that you've calculated f wrongly.
You need to go back to your lecture notes on the calculation of
frequency.

Oops, I mean + and - 20 Hz, 0.05 s period.
.



Relevant Pages

  • Re: I need help with this simple fourier transform
    ... If we sample it with Tsample= 0.05, ... Now calculate fourier transform both for xaand x. ... but doing plot) i see only two dirac delta on 0 and 1.... ... You need to go back to your lecture notes on the calculation of ...
    (comp.soft-sys.matlab)
  • I need help with this simple fourier transform
    ... i'm a n00b Rolling Eyes ... If we sample it with Tsample= 0.05, ... Now calculate fourier transform both for xaand x. ... but doing plot) i see only two dirac delta on 0 and 1.... ...
    (comp.soft-sys.matlab)
  • Re: fourier transform of 1/|x|
    ... how can we make this into a calculation ... The Fourier transform induces a quotient map from S'/D ... this is a topological-vector-space isomorphism. ... "Understanding Godel isn't about following his formal proof. ...
    (sci.math)
  • Re: Convolution equation
    ... according to your conventions for the Fourier transform). ... Dirac delta), forming a new Banach algebra A with ... Note that L^1 is a maximal ideal of A; the other maximal ideals ...
    (sci.math.research)
  • Re: positive definite functions
    ... >>>without calculation of its Fourier transform or of the determinants in ... you don't (unless by calculating the Fourier transform). ... Prev by Date: ...
    (sci.math)

Loading