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

Lt metering or low tension metering, LT Metering or Low Tension Metering ...

LT Metering or Low Tension Metering The subsequent types of meters are generally used for LT consumers: Whole Current Meters i)   Single phase meters ii)   3-phase

Illustrate output-rate control, Q. Illustrate Output-rate control? A sy...

Q. Illustrate Output-rate control? A system is said to have output-rate damping when the generation of the output quantity in some way ismade to depend upon the rate atwhich th

By the nodal analysis find the current delivered, By means of nodal analysi...

By means of nodal analysis, find the current delivered by the 10-V source and the voltage across the 10- resistance in the circuit shown in figure.

Analysis of semiconductor devices, Analysis of Semiconductor Devices T...

Analysis of Semiconductor Devices There are two complementary techniques of studying semiconductor devices: Via numerical simulation of the semiconductor equation

Determine the value of resistance, Determine the value of Resistance: ...

Determine the value of Resistance: Determine the value of R, so that the condition for resonance is fulfilled Figure Solution Admittance of first branch

Pu value, the p.u. reactance of a 25 MVA, 13.2 kV alternator 0.5 p.u. On a ...

the p.u. reactance of a 25 MVA, 13.2 kV alternator 0.5 p.u. On a base of 50 MVA and 13.8 KV the p.u. value shall be

Structure and use of pnp transistor, Structure and use of PNP transistor: ...

Structure and use of PNP transistor: The figure opposite is a schematic presentation of a PNP transistor related to two voltage sources. To construct the transistor conduct ap

Magnetic field, what is the difference between static and induced emf

what is the difference between static and induced emf

Explain properties and application of aluminium, Explain properties and app...

Explain properties and application of Aluminium. Properties of Aluminium: 1) Pure aluminium in colour is silver white. 2) Aluminium is a ductile metal and can be put

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