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

Illustrate the satellites in outer space, Illustrate the satellites in oute...

Illustrate the satellites in outer space Satellites in outer space transmit signals to Earth. Computers in vehicles (for example car, airplane or ship) receive and interpret th

Express the storedmagnetic energy, A relay is essentially an electromechani...

A relay is essentially an electromechanical switch that opens and closes electrical contacts. A simplified relay is represented in Figure. It is required to keep the fenomagnetic p

How clock signal is generated in 8086, How clock signal is generated in 808...

How clock signal is generated in 8086?what is the maximum internal clock frequency of 8086? Clock input 33% square wave from external clock generator .the external clock genera

Explain about blocking probabilityand grade of service, Q. Explain about bl...

Q. Explain about blocking probabilityand Grade of service? And what do you mean by delay systems in telecommunication networks? Ans: Grade of service: In loss systems, traff

Gis technology, GIS technology: GIS could be used to derive diverse in...

GIS technology: GIS could be used to derive diverse information for efficient technical and commercial management of a power distribution utility, e.g., capacity analysis, inv

Embedded systems design, You have been requested by your Senior Engineer to...

You have been requested by your Senior Engineer to design an Engine Control Unit (ECU) and prepare a report detailing your proposed solution. The client requires a design for a mic

Show applications for dc machines, Q. Show Applications for DC Machines? ...

Q. Show Applications for DC Machines? Dc motors find wide applications in which control of speed, voltage, or current is essential. Shunt motors with constant speed are used fo

Digital electronic, What are the advantages of wired-AND connection of digi...

What are the advantages of wired-AND connection of digital IC

Explain effect of frequency of applied electric field, Explain effect of fr...

Explain effect of frequency of applied electric field. If an external electric field is applied, the distance among charges that is related to chemical bonding keeps constant i

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