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 do you understand by solid modeling, What do you understand by solid m...

What do you understand by solid modeling and wireframe modeling in CAD systems? Explain and compare the both modellings. Describe the following 1. Boundary representation 2.

Cro, oscilloscope probes specification & performance

oscilloscope probes specification & performance

Balance Business Score Card in KPI, Balance Business Score Card in KPI ...

Balance Business Score Card in KPI Information Age The current era is driven by the information. It is a revolutionary transformation and industries are competing in th

Draw a diagram of ultrasonic machine, Draw a diagram of ultrasonic Machine ...

Draw a diagram of ultrasonic Machine and illustrate its important parts? Discuss the following important element of ultrasonic process. (i) Abrasive slurry. (ii) Work Mate

Illustrate the components of flexible manufacturing system, What is FMS? Il...

What is FMS? Illustrate the components of Flexible Manufacturing System? Discuss the different kinds of Material Handling and Storage Systems?

Find the net force experienced by a positive charge, Q. Two charges of equa...

Q. Two charges of equal magnitude 5µC but opposite sign are separated by a distance of 10 m. Find the net force experienced by a positive charge q = 2 µC that is placed midway betw

What is the impulse response of this filter, Consider the filter h[n,m] des...

Consider the filter h[n,m] describing the input-output relationship below: g[n,m]=f[n-1,m]+ f[n,m-1]+ f[n+1,m]+ f[n,m+1] a)  What is the impulse response of this filter? b

Explain mechanisms of propagation of radio communication, Explain mechanism...

Explain mechanisms of propagation of radio communication. Radio communication deals with electronic radiation of electromagnetic energy from one point to another through atmosp

Unit impulse response of a linear system, Q. The unit impulse response h(t)...

Q. The unit impulse response h(t) of a linear system is h(t) = 5e -t cos(2t - 30°). Determine H(s).

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