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

Common channel signalling, Common channel signalling Signalling system...

Common channel signalling Signalling systems link the variety of switching systems, transmission systems and subscriber equipments in telecommunication network to enable

Electromechanical energy conversion and device, importance of electromechan...

importance of electromechanical energy conversion and device in electrical engineering

Block schematic diagram of ss7, Q. Block schematic diagram of SS7? Leve...

Q. Block schematic diagram of SS7? Levels are as below: Level 1: The Physical Layer Level 2: The Data Link Level Level 3: The signaling network level Level 4: The User Pa

Design three-bit counter using t flip-flops, (a) A universal shift regist...

(a) 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.

Pn junction, the depletion layer in the pn junction is caused by

the depletion layer in the pn junction is caused by

Explain the high-frequency response of fet amplifier, Q. Explain the high-f...

Q. Explain the high-frequency response of FET amplifier?  The analysis for the high frequency response of the FET amplifier is almost the same as that of the BJT amplifier. The

How does voice one dsl work?, Question 1 Define the term telecommunication...

Question 1 Define the term telecommunication? Discuss briefly the various uses of telecommunication in daily life Question 2 Explain the powers and functions of the TRAI

Quality control systems, Give three reasons why a chamfer shouldn't be cons...

Give three reasons why a chamfer shouldn't be considered an "unimportant" dimension. When conducting an audit, what is the first step and what is its purpose? Why will calcul

Control systems, why open loop system is stable and why degree of stability...

why open loop system is stable and why degree of stability varies in closed loop system

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