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. Cause of sparking at the brushes of a DC Motor? Ans: Sparking at the brushes can be occur due to poor quality of carbon brushes, loose connection, poor armature of carbon

Guarding Against Loss in Transformers Distribution transformers are expected to convert up to 95-98% of the input power into usable output power. A distribution transformers i

Bi Directional Buffer 74LS245 This types  of bi directional  buffer is required for data  bus as it has  to function as bi directional bus. The logic  diagram  of such  buffer i

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

What is synchronous data transfer? It is a data method which is used when the I/O device and the microprocessor match in speed. To transfer a data to or from the device, the us

Describe the operation performed by the instruction OUT 47 h, AL. This transfers the content of AL to I/O port 47h. See that I/O port number shows as 0047h on the 16 bit addres

Q. What are the performance measures of oscillator circuits? 1. Stability: This is determined by the passive components. R, C and L determine frequency of oscillations. If R ch

Successive-approximation analog to digital converter This converter, shown in Figure, also contains a D/A converter, but the binary counter is replaced by a successive-approxim

Q. Explain Time-invariant versus time-varying systems? When the parameters of a control systemare stationary with respect to time during the operation of the system, the system

3-Phase 4 Wire Meters with CT and MD If load is commonly more than 50 A, CT operated meters should be used. It is to be remembered that CTs should be properly selected for acc