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

Determine a normalized frequency at 820nm, Determine a normalized frequency...

Determine a normalized frequency at 820nm for a step index fibre having 25µm core radius. Given n 1 =1.48 and n 2 =1.46.Also calculate how several modes propagate within this fibre

Explain pnp transistor circuit, Explain pnp transistor circuit . pnp tr...

Explain pnp transistor circuit . pnp transistor: A transistor consist of  three terminals. In this pnp transistor there is two blocks of p- type semiconductors that are separa

Power semiconductor-controlled drives, Q. Explain Power semiconductor-contr...

Q. Explain Power semiconductor-controlled drives? Power electronics deals with the applications of solid-state electronics for the control and conversion of electric power. Con

Why we need biasing, Q. Why we Need biasing? Need for biasing : Baising...

Q. Why we Need biasing? Need for biasing : Baising is necessary to establish the quiescent operating point so that the device operates with the linear region without exceeding

Cro, why is delay line used in vertical deflection on systems of CRO?

why is delay line used in vertical deflection on systems of CRO?

Induction heating - -stepper motor , Normal 0 false false f...

Normal 0 false false false EN-IN X-NONE X-NONE Induction Heating When alternating curren

What is the colour of the light emitted from the led, Question: a) Des...

Question: a) Describe five advantages of LED lighting over conventional incandescent lighting. b) State two impairments that reduces the radiant flux of a surface-emitting

What is stored program control, Q. What is Stored Program Control ? Sto...

Q. What is Stored Program Control ? Stored Program Control:Modern digital computers use stored programmed concept. Here, a program or a set of instructions to the computer is s

Project, Hello I am doing a Btec degree in Electrical and electronic engine...

Hello I am doing a Btec degree in Electrical and electronic engineering and I was wondering if you can help me complete it because I am behind

What do you mean by fm stereo, Q. What do you mean by FM Stereo? IT  sh...

Q. What do you mean by FM Stereo? IT  shows the block diagram of an FM stereo transmitter and an FM stereo receiver. The following notation is used: • f L (t), fR(t): Left a

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