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
What do you mean by Circuit Analysis Techniques?   One simplifying technique often used in complex circuit problems is that of breaking the circuit into pieces of manageable

Q. An antenna has an aperture area of 10 m 2 ,an aperture ef?ciency of 0.6, and negligible losses. If it is used at 5 GHz, determine: (a) Its power gain. (b) The maximum pow

explain appropriate first aid procedure to be followed in case of electric shock

Trap is called as Non-Maskable interrupts, which is used in emergency condition.


Explain Dual Slope ADCs Dual slope ADCs make use of a capacitor connected to a reference voltage. The capacitor voltage begins at zero and is charged for a set time through the

Q. Classify switching systems. In what way is stored program control superior to hard wired control? Ans: Classifications of switching systems are givenin block diagram belo

Define Successive Approximation Digital to Analog Converter? Successive approximation ADCs transform analog signals to digital data by comparing the incoming analog signal alo

Explain Register Direct and Indirect data addressing mode (with examples) available in microprocessors. Register Direct Modes and Register Indirect Modes: Does not giv

Hello, Please how do I compare performance of a digital modulation scheme with matlab?