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
CMOS processes: The low-performance "lateral" bipolar transistors occasionally employed in CMOS processes are sometimes designed symmetrically, i.e., with no distinction betwe

Q. What do you mean by Conductors and Insulators? In order to put charge in motion so that it becomes an electric current, one must provide a path through which it can flow eas

Q. Briefly explain about Phasor Method? For sinusoidal excitations of the same frequency, the forced or steady-state responses are better found by the technique known as the ph

Q. Use of Computers in Power Systems? The control and stability of any electric power system is indeed extremely important, in particular when a system is expected to maintain

I need the solutions for this assignment

determine the efficience of a 16 KVA transformer for the full-load,unit power factor

A capacitor is charged to 100 V and then discharged by a 50 kΩ resistor. If the time constant of the circuit is 0.8 s, verify: (a)  The value of the capacitor, (b)  The time

Pins  and Signals As  discussed  earlier that  8085  microprocessor  chip has 40 pins shown  various  pins  and signals of 8085  microprocessor. All  these  signals can be   c

Explain Antiferromagnetism magnetic materials. Antiferromagnetism : Magnetic dipoles are aligned anti-parallel to each other. Antiferromagnetic type materials are not as famil

what is serveces of operating system?