electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Find the frequency spectrum before and after sampling


Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital Signal Processing -> Find the frequency spectrum before and after sampling
Author Message
iggyboy



Joined: 16 Feb 2007
Posts: 50


Post17 Jun 2007 14:08   

Find the frequency spectrum before and after sampling


I do not seem to understand how sampling affects the frequency spectrum. Help me find the frequency spectrum before and after sampling. How to do it in Matlab?

I am interested in frequencies from 0~integer*sampling frequency. I want to see how different frequency components are copied troughout the frequency spectrum after sampling.

Added after 1 hours 15 minutes:

I wrote some little ugly code that seems to do "something". First let me explain how do I understand the problem of frequency "replicas" after sampling.

Assume:

Fsampling=1kHz
Fsignal= 400Hz

This is the frequency content before sampling. I start sampling at time 0 and sample one period. Sample points are:

time = [0 1ms 2ms]
value of sampled signal = [0 0.58778525229247 -0.95105651629515]

We are now in the DSP domain. We have three points of data and those points have the information about the frequency, amplitude etc of the signal we sampled. Let us consider the frequency.

What frequency "fits" our data in terms of amplitude = [0 0.58778525229247 -0.95105651629515] at sample times = [0 1ms 2ms]?

Answers:

Obviously 400Hz. And many many, many many more. What fits our data are also:

1400
2400
3400
4400
...

and if we shift the phase to these signals to 180 degree they "fit" too:

4600
3600
2600
1600
600
...

And this is where the confusion begins for me. Troughout the books (more like articles) I read, there was a claim, that the frequency content duplicates around the Fsampling/2. But my "analysis" does not say so. For example a "normal" 600Hz signal does not fit the sampled data, but a 180 degrees shifted 600Hz signal does. So. Can anyone explain this?

Let me emphasise that I am trying to figure out how frequency components are moved around (replicated somewhere else) after sampling.
Back to top
Google
AdSense
Google Adsense




Post17 Jun 2007 14:08   

Ads




Back to top
Sal



Joined: 29 Nov 2005
Posts: 310
Helped: 37


Post18 Jun 2007 3:10   

Find the frequency spectrum before and after sampling


Hi

I suggest you to read the "sampling theorem", it is a long way to be included in this post.

Sal
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital Signal Processing -> Find the frequency spectrum before and after sampling
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
perfomance degradation of LNA before and after layout (6)
how to find frequency spectrum from fft function? (1)
Insert I/O PAD before or after DC (6)
Cutoff frequency and Sampling Frequency (3)
How to Find the carrier on spectrum analyzer? (2)
How can I calculate the sampling frequency? (2)
Signal and Sampling Frequency (3)
sampling frequency from sampling period (4)
Relation between Sampling Frequency and Bandwidth (4)
Is decimation filter after or befor down sampling? (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS