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 starter motor, ELECTRICAL STARTER MOTOR This usually consist...

ELECTRICAL STARTER MOTOR This usually consists of a heavy duty, compound wound, DC motor, which draws its electrical supply from an external source. The motor works in conjunc

Delay line in CRO, why we use delay line in CRO what happens if we not use ...

why we use delay line in CRO what happens if we not use it?

Explain the action of a pn-junction with bias, Q. Explain the action of a p...

Q. Explain the action of a pn-junction with bias. Consider both the forward bias and the reverse bias, and use sketches wherever possible.

Compute the signal-to-noise ratio, Q. (a) An ampli?er with F 0 = 3 or 4.77...

Q. (a) An ampli?er with F 0 = 3 or 4.77 dB, f 0 = 4 GHz, and BN = 14 MHz is used with an antenna forwhich T a =200K. The connecting path loss is 1.45, or 1.61 dB at a physical t

Sensor selection, Research and recommend a sensor for a real full size conv...

Research and recommend a sensor for a real full size conveyor system of approximately 1000mm width to detect objects of varying size passing along it. Discuss the suitability of th

Digital electronic, how many data input and data output line for 8k 16-bits...

how many data input and data output line for 8k 16-bits?

Use of cro for frequency measurement, Q. Explain the use of CRO for frequen...

Q. Explain the use of CRO for frequency measurement.   Measurement of frequency: The frequency of the periodic signals is easily measured with a CRO. The frequency of a si

Show the dialling circuit, Q. Show the Dialling Circuit? Dialling circu...

Q. Show the Dialling Circuit? Dialling circuit enables subscriber to output signals representing digits, and this enables caller to enter destination telephone number. Dialling

Design a circuit using op-amp amplifier, Design a circuit using op-amp that...

Design a circuit using op-amp that will reject the 60kHz power line noise and also reject high signal frequency above 800Khz. The stop-band width around the 60kHz centre frequency

Project, Design a DC motor control system to run the 48V DC motor at 40rpm ...

Design a DC motor control system to run the 48V DC motor at 40rpm up to max load of the motor. You are responsible for designing the control of a 24V supply along with the speed 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