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

What is power gain, Q. What is power gain? Power gain is the ratio of p...

Q. What is power gain? Power gain is the ratio of power delivered to the load to power delivered to the amplifier is the power gain. A p =P o /P i     =V o I o /V i I s

What do you mean by negative impedance converter, Q. What do you mean by Ne...

Q. What do you mean by Negative Impedance Converter? The op-amp circuit of Figure causes a negative resistance R in between the input terminal and ground. In the more general

Electrons, Ask question #Minimum 100 words accepted how does the charge pla...

Ask question #Minimum 100 words accepted how does the charge plate relate to the movement of electrons

What is meant by interrupt, What is meant by interrupt? Interrupt is an...

What is meant by interrupt? Interrupt is an external signal that causes a microprocessor to jump to a particular subroutine.

What is the photon flux - focal spot isotropically, Suppose that the x rays...

Suppose that the x rays are emitted from a focal spot isotropically. The photon flux is 3.28 x 10 6 photons mm -2 sec -1 at a distance of 0.75 m from the focal spot. What is the

What do you mean by frequency response, Q. What do you mean by Frequency Re...

Q. What do you mean by Frequency Response? As with all electronic circuits, op amps have limited frequency response. Because of the negative feedback of the circuit, the passba

Find the expression for the no-load speeds, Q For a three-phase, fully cont...

Q For a three-phase, fully controlled, recti?er-fed, separately excited dc motor, corresponding to ideal no-load operation, find the expression for the no-load speeds. Comment on w

Dc motor, what is the reason of low meagger result of dc motor

what is the reason of low meagger result of dc motor

Explain this phenomenon, (a) Design a 2 nd  order Sallen and Key low pass ...

(a) Design a 2 nd  order Sallen and Key low pass active filter with the following characteristics: Nominal Cut-off Frequency: 1.6 kHz Variable Gain: 0 to 7.5 dB You may a

Assinment, Ask question #Minimum mechanism of microwave communication 100 w...

Ask question #Minimum mechanism of microwave communication 100 words accepted#

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