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
Write a short explanation of the principles of super-heterodyne receiver. It may help to use sample block diagram to state the process. Why is the production of the intermediate fr

Determine the node voltage: Determine the node voltage V and then current flowing through each element by using KCL. Solution Apply KCL at the node whose voltage is V.


Q. An op amp has a finite gain of only 50, but is otherwise ideal. For the inverting-amplifier circuit of Figure, if R 2 = 20 k, what value of R 1 would be needed to give a gain

derive transfer function of S= 2.25+j4.5

Hysteresis results in a dissipation of energy Hysteresis results in a dissipation of energy which appears as a heating of the magnetic material. The energy loss associated wit

Determine the maximum power: 1 For the circuit shown below, what value of RL will result in maximum power transfer? Determine the maximum power dissipated in RL. You

Let me know if you can help during the test

What are loosely coupled systems? In loosely coupled systems every CPU may have its own bus control logic. The bus arbitration is handled by an external circuit, common to all

1. Find the Nyquist rate for the following signals: (a) x(t) = 5 sin 3000Πt cos 4000Πt (b) A binary channel with bit rate 36000 bps is available for PCM voice transmission.