Sampling, Electrical Engineering

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?

Posted Date: 2/26/2013 12:04:03 AM | Location : United States







Related Discussions:- Sampling, Assignment Help, Ask Question on Sampling, Get Answer, Expert's Help, Sampling Discussions

Write discussion on Sampling
Your posts are moderated
Related Questions
For carry Flag JC (  jump on  Carry ) and JNC (Jump  on No carry ) Instructions : JC transfer the  execution of the  program to the  specified memory  address if  carry

Q. Data transmission in Bus Topology ? Bus Topology:This topology shares a single path or link way among all users. This common single path way is called bus. In this topology,

Consider Chebyshev Type I versus Chebyshev Type II (also called inverse Chebyshev) Ölters. Which one should be used based on the following criteria? (If there is no difference betw

Q. An n-channel enhancement MOSFET operates in the active region with very large V A , v GS = 6V, V = 4 V, and i = 1 mA. Calculate K.

what is difference between dual trace and dual beam cro?

Q. Explain the operation of oscillators. Oscillator is a circuit that changes dc energy from the power supply into ac energy. An amplifier provided with a positive feedback bec

Q. What is Barkhausen criterion? Why is the value of Ab kept slightly greater than 1? The condition |Ab| = 1 is called the Barkhausen criterion. It implies that when |Ab| = 1,

Explain modes of operation of programmable interval timer 8254. Mode 0 - Interrupt upon terminal count Mode 1 - Programmable one-shot Mode 2 - Rate Generator Mode 3 -

What is meant by doping? Doping: Semiconductors in its extremely pure form are termed as intrinsic semiconductor such intrinsic semiconductor to which several suitable impur

Consider the circuit shown in Figure in the t -domain as well as in the s-domain. Formulate the s-domain nodal equations and use MATLAB to solve for V A (s) and V B (s).