Sampling, Electrical Engineering

Assignment Help:

Write an m-file "sampling.m", which will take as an input:  a signal and a sampling step and will display the sampled signal and the magnitude of its Fourier transform.

sampling.m

function sampling(x,step)
plot(x(1:step:end),'-o')
plot(abs(fft(x(1:step:end))))

use x as the input signal

x=(sin([0:pi/8:4*pi]))

Run the function with step=1.Increase the sampling step 2,4,8.... and observe what happens with the spectrum.

What happens with the spectrum as the sampling step increases?

What should be the minimum sampling frequency (maximum sampling step) of a signal?


Related Discussions:- Sampling

Unit to measure the electric charge q, Unit to measure the electric charge ...

Unit to measure the electric charge Q?? The unit used to measure the quantity of electrical charge Q is called the coulomb C

Find kfm for the modulator using carsons rule, Q. A commercial FMstation br...

Q. A commercial FMstation broadcasts a signal with 180-kHz bandwidth when |f(t)|max = 2 V. Find kFM for the modulator if the spectral extent of f (t) is 30 kHz, by using Carson's r

Explain intrinsic semiconductor, Explain Intrinsic Semiconductor. Intr...

Explain Intrinsic Semiconductor. Intrinsic Semiconductor: An extremely pure semiconductor is termed as intrinsic semiconductor. But at absolute zero temperature its valence b

Summation meters, Summation Meters Summation meters are other special ...

Summation Meters Summation meters are other special categories of meters that are used for recording the total consumption of a consumer fed at more than one point. The major

Followings are some disadvantage , Followings  are some  disadvantage ...

Followings  are some  disadvantage a.   Higher latching and holding  current b.Higher  on state  voltage  drop and power  losses c.Higher  gate  current d.Higher  gat

Differentiate thermoplastic & thermosetting plastic material, Classify plas...

Classify plastic materials into two categories describe their important properties and give two examples of each. Plastic materials can be categorized in thermoplastic and ther

Kirchoff''s current law, Kirchoff's Current Law The total current ent...

Kirchoff's Current Law The total current entering a node in a circuit is equal to the total current leaving that node. A Node is a junction between two or more components.

Write out the general form of difference equation, Write out the General Fo...

Write out the General Form of Difference Equation? If the x[n] is the input and y[n] is the output of a linear time-invariant  system,  then  an  N  order  FIR  difference  equ

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd