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

Calculate the gain and phase response of fir digital filter, Calculate the ...

Calculate the gain and phase response of an FIR digital filter Calculate the gain and phase response of an FIR digital filter as in below Figure with A 0 = 1, A 1 = 2, A 2 =

Digital control system, block diagram of digital control system and explain...

block diagram of digital control system and explain each block

Scientists, biography of scientists in different branches

biography of scientists in different branches

Consider the circuit of the noninverting amplifier, (a) Consider the circui...

(a) Consider the circuit of the noninverting amplifier in Figure, including an ideal op amp. Obtain an expression for the voltage gain of the overall circuit. (b) Let R i = 10

Explain explanatory notes on a/d conversion, Explain explanatory notes on A...

Explain explanatory notes on A/D conversion. The digital inventory is working a revolution into the field of microcontrollers, technology and microprocessors are used more effi

What are transmission bridges, Q. What are transmission bridges? How do the...

Q. What are transmission bridges? How do they assist in satisfying the connectivity?  Ans: A typical transmission bridge is demonstrated in figure. Series capacitance and shunt

Bifurcation using simulink, i am implementing a paper "on the chaotic behav...

i am implementing a paper "on the chaotic behaviour of buck converter" a want to plot bifurcation diagram by using simulink blocks without using coding is it possible??

Metallic bonding, Metallic Bonding In metals, the outer shell is fi...

Metallic Bonding In metals, the outer shell is filled through no more than three electrons (loosely bound and given up easily) => great chemical activity and very high elec

Digital electronics, A universal shift register can shift in both the left-...

A universal shift register can shift in both the left-to-right and right-to-left directions, and it has parallel-load capability. Draw a circuit for such a shift register.

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