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

Determine the maximum power, Determine the maximum power: 1 For the c...

Determine the maximum power: 1 For the circuit shown below, what value of RL will result in maximum power transfer? Determine the maximum power dissipated in RL. You

State the features of washing machines, State the features of Washing machi...

State the features of Washing machines Microprocessor would be used to control the below features, for instance: - Water temperature -  Time for every cycle -  Wash cy

Dc machine, explain front pitch and back pich ??

explain front pitch and back pich ??

Calculate the cost per bit for dram, A silicon foundry produced 1.2 million...

A silicon foundry produced 1.2 million 8-inch wafers in 1997; how many 600 mil die is that?  The foundry is scheduled to produce 20,000 12-inch wafers per month by the year 2001 us

Show the properties of a good heat sink, Properties of a good heat sink ...

Properties of a good heat sink For maximum efficiency, a heat sink should be 1)Be in good thermal contact with the transistor case 2)Have the largest surface area 3)Be

OCR, matlab code for handwritten digital

matlab code for handwritten digital

Transfer function, derive transfer function of S= 2.25+j4.5

derive transfer function of S= 2.25+j4.5

What are tightly coupled systems, What are tightly coupled systems or close...

What are tightly coupled systems or closely coupled systems? In a tightly coupled systems the microprocessor (either coprocessor or independent processors) might be share a com

Compare with register, Compare with Register The contents  of the re...

Compare with Register The contents  of the register  are compared with  the contents  of the accumulator  here  register  may be  any one  of the  A, B, C, D E, H, or L  reg

Explain fourier series, Q. Explain Fourier Series? The phasor method of...

Q. Explain Fourier Series? The phasor method of circuit analysis can be extended (by using the principle of superposition) to find the response in linear systems due to nonsinu

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