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

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

Linear system to a unit-step excitation, Q. The response v(t) of a linear s...

Q. The response v(t) of a linear system to a unit-step excitation i(t) is given by v(t) = (5 - 3e -t + 2e -2t ) u(t). Determine the transfer function H(s) = V (s)/I (s).

Chemistry, explain why entropy of a gas increases with volume and tempeart...

explain why entropy of a gas increases with volume and tempearture

Quantizer, Q. When the quantum step size δv and the step size of f (t) are ...

Q. When the quantum step size δv and the step size of f (t) are the same as in , the quantizer is said to have a gain of unity. If, on the other hand, the quantizer has a gain of K

Explain the operation of interrupt return instruction, Explain the operatio...

Explain the operation of IRET instruction.  What memory locations contain the vector for an INT 34 instruction? The Interrupt return (IRET) instruction is utilized only along w

Use of capacitor in technical loss reduction, Use of Capacitor in Technical...

Use of Capacitor in Technical Loss Reduction The use of capacitors to correct for poor power factor is a well-built and cost-effective means of reducing distribution system lo

Explain the applications of emitter follower, Q. Explain the applications o...

Q. Explain the applications of emitter follower. Because of high input impedance and low output impedance an emitter follower is capable of transferring maximum power from the

Averaged power dissipated in the load, (a) Consider the following transmiss...

(a) Consider the following transmission line with the reactance X1 placed across the input. It is being driven with a frequency ω such that the length of the line is λ/4. What v

Amper circuital lw, the plot of amper circuital law by using matlap?

the plot of amper circuital law by using matlap?

What is accelerator key, A keyboard shortcut for a command. For example, Ct...

A keyboard shortcut for a command. For example, Ctrl + Alt + Delete are an accelerator key for the task manager in Windows 95.

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