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

Explain the construction of synchronous machines, Explain the Construction ...

Explain the Construction of Synchronous Machines? Basically all synchronous machines require a DC excited field winding in order to produce magnetic flux. For majority of machi

Is the quantizer midriser or midtread, Q. The quantum levels of a quantizer...

Q. The quantum levels of a quantizer are separated by the step size δv = 0.2 V, with the lowest and highest levels of-3.3 V and +3.3 V, respectively. A sequence ofmessage sample

Transfer function, derive transfer function of S= 2.25+j4.5

derive transfer function of S= 2.25+j4.5

Partial derivatives - transistor hybrid model, Partial derivatives - Transi...

Partial derivatives - Transistor hybrid model: The partial derivatives are taken by keeping the collector voltage or base current constant as pointed out by the subscript atta

Dc generater, define all the symbols with their unit

define all the symbols with their unit

History - field-effect transistor, History - Field-Effect Transistor: ...

History - Field-Effect Transistor: The principle of field-effect transistors was very first patented by Julius Edgar Lilienfeld in the year 1925 and by Oskar Heil in the year

Explain dielectric constant, Write short note on dielectric constant. A...

Write short note on dielectric constant. All insulation material has the capacity to store charge while placed in among two conducting plates as in capacitors. Dielectric const

Project, You have to look up the data sheets for the LM317 (Not LT317), LT1...

You have to look up the data sheets for the LM317 (Not LT317), LT1006. V1 is a standard 9 volt battery, and the resistors are “through hole”. Label the test points in, V+, gnd, and

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

importance of electromechanical energy conversion and device in electrical engineering

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