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 about the wireless technology, Determine about the Wireless techn...

Determine about the Wireless technology Wireless technology (WiFi) enables connection of a computer to Internet without the need for connecting cables. A router (comprising a m

Alternater, if the prime mover input of an alternater connected directly t...

if the prime mover input of an alternater connected directly to an infinite bus in increased,then its?

What are the different types of distributing frames, Q. What are the differ...

Q. What are the different types of distributing frames used in exchanges? Ans: Different distribution  frames  used  in  exchange  are  displayed in  figure.  Each subscribe

Determine whether the systemnoise, The expression given in Problem for (S 0...

The expression given in Problem for (S 0 /N 0 )PCM is plotted for a sinusoidal message in Figure to show the performance curves for a PCM system using a polar waveform. (a) Comm

What is error-rate control, Q. What is error-rate control? A system is ...

Q. What is error-rate control? A system is said to possess error-rate damping when the generation of the output in some way depends upon the rate of change of the actuating sig

Name the various magnetically hard alloys, Name the various magnetically ha...

Name the various magnetically hard alloys. Several of the magnetically hard materials are rare earth carbon steel, cobalt, tungsten steel, alnico, hard ferrites and cobalt stee

#kinetic energy, how does the increase in the kinetic energy of a proton co...

how does the increase in the kinetic energy of a proton compare with the increase in kinetic energy of the alpha particle in part?

Personal and corporate income tax rate, Ginny Jones currently works as the ...

Ginny Jones currently works as the VP-Product Strategy for a well-established enterprise software company. She and her friend, Tom Robinson, currently CFO at a competing firm (and

Terminal of a battery having 10 cells connected in series, An external resi...

An external resistance of 10 Ω is linked to the terminal of a battery having 10 cells connected in series. Emf for every cells and internal resistance  is 1.5V and 0.2Ω . Find the

Evaluate the available received power, (a) Some antennas have a physical ap...

(a) Some antennas have a physical aperture area A that can be identified and is related to the effective area A e by A e = ρ a A, where ρ a is known as the aperture efficiency.

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