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

Find the meter reading assuming that the averaging is done, Q A residence i...

Q A residence is supplied with a voltage v(t) = 110√2cos120πt Vand a current i(t) = 10√2cos120πt A. If an electricmeter is used tomeasure the average power, find the meter reading,

Explain the nand gates - microprocessor, Explain the NAND Gates - Microproc...

Explain the NAND Gates - Microprocessor? The NAND GATE is a AND gate with the output inverted. Consequently the outputs of a NAND gate would be the opposites of the outputs of a A

SUPERPOSITION THEOREM, CONCLUSION IN BRIEF OF SUPERPOSITION IN ASSIGNMENT

CONCLUSION IN BRIEF OF SUPERPOSITION IN ASSIGNMENT

Give the basic structure of a basic dma module, a) Give four features that ...

a) Give four features that were traditionally reserved to RISC architectures? b) Determine the overall throughput for 21 sequential instructions assuming a four-stage pipeline a

Identify the processes involved in fabrication, The first three elements of...

The first three elements of the task are: 1. To critically examine a selection of the components used on this design 2. To recommend materials to be used in making the board

Find the highest speeds at which linkage would be possible, Q. Two coupled ...

Q. Two coupled synchronous machines are used as a motor-generator set to link a 25-Hz system to a 60-Hz system. Find the three highest speeds at which this linkage would be possibl

Communication network, Assuming that the receiver sends a XOFF signal when ...

Assuming that the receiver sends a XOFF signal when the receive buffer is P% full in order to avoid any data or packet loss.

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