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
Q. Sketch the depletion MOSFET drain characteristics The depletion-type MOSFET has a structure similar to that of the enhancement-type MOSFET with one important difference: The

Athree-phase, 440-V, 60-Hz, four-pole induction motor operates at a slip of 0.025 at full load, with its rotor circuit short-circuited. This motor is to be operated on a 50-Hz supp

Q. What do you mean by Waveforms? We are often interested in waveforms, which may not be constant in time of particular interest is a periodic waveform, which is a time-varying

Q.   What are the different types and uses of delay line in CRO? OR Why is a delay line used in the vertical section of the oscilloscope? Sol. All electronic circui

hi PA DS:1234 = AB PA DS:1235 = CD if i typed mov DX,[1234H] WHAT SHOULD I GET IN DX ?



what are the classifications of fixed resistor?explain

what are the disadvantages of superposition theorem?

Theoretical Circuit The theoretical circuit is available in form 1.Passive materials with mediocre dimension is used by the manufacturer. In order to make a theoretical circuit