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

Electrical and electronic principles, 12. A capacitor is to be constructed ...

12. A capacitor is to be constructed so that its capacitance is 0.2µF and to take a p.d. of 1.25kV across its terminals. The dielectric is to be mica which, after allowing a safety

Basic aspects of electromechanical energy converters, Q. Basic aspects of e...

Q. Basic aspects of electromechanical energy converters? Whereas detailed differences and particularly challenging problems emerge among various machine types, this section bri

Show the amenability to computer processing, Q. Show the Amenability to com...

Q. Show the Amenability to computer processing? Due to the digital data collected and stored in the form of a matrix, the same becomes amenable to processing on computers. By f

Discuss properties and uses of glass and glass products, Discuss important ...

Discuss important properties and uses of Glass and glass products. Glass and glass products - Glass is an inorganic material build by the fusion of various metallic oxides. The

Microcontroller, What are usue and all the details of 8051 microcontroller ...

What are usue and all the details of 8051 microcontroller with its block diagram pin diagram and all other details

Electonic principles, can you help with my electronic principle assignment

can you help with my electronic principle assignment

Hot line maintenance, how do you define the expertise for this hot line mai...

how do you define the expertise for this hot line maintenance?

Find the voltage drops across the resistors, Consider the network shown in ...

Consider the network shown in Figure (a). (a) Find the voltage drops across the resistors and mark them with their polarities on the circuit diagram. (b) Check whether the KV

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