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

Motor, operation of induction motor

operation of induction motor

Explain the construction of power transformer, Q. Explain, with the aid of ...

Q. Explain, with the aid of diagrams, the following in relation to the construction of power transformers. Include the advantages and disadvantages in your description. a) Core

Circuit, i need to talk to expert asap.

i need to talk to expert asap.

Explain ferrites suitability for high frequency application, Explain Suitab...

Explain Suitability of ferrites for high frequency application. Ferrites are extensively used in micro wave equipments and in computers. Ferrites are advantageous at high frequ

Define pipelining, Define pipelining? In 8086, to speedup the implement...

Define pipelining? In 8086, to speedup the implementation of program, the instructions fetching and implementation of instructions are overlapped each other. This method is kno

Working principle of ultrasonic machine, Illustrate the working principle, ...

Illustrate the working principle, equipment used,process characteristic, advantage and disadvantage of water jet machine (WJM) (a) Illustrtae the working principle of ultrasonic

Electricity policies, Electricity Policies: The National Electricity P...

Electricity Policies: The National Electricity Policy is a main policy instrument having the force of law under the Electricity Act, 2003. The Central and State Electricity Re

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