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. A three-phase ac motor, used to drive a draft fan, is connected to a 60-Hz voltage supply. At noload, the speed is 1188 r/min; at full load, the speed drops to 1128 r/min. (a

Draw a relay construction diagram and briefly explain the operation of a relay. Define the terms normally open and normally closed. Define the terms Set and Reset for relays.

ABCD propagation of an optical ray through a system can be explained by a simple 2_2 matrix. In ray optics, the characteristic of a system is given by the corresponding ray matrix

Q. Find the currents I x using current division and equivalent resistor reductions for the networks given in Figure.

Types of Field-Effect Transistors The channel of a FET (field-effect transistor) is doped to produce either an N-type semiconductor or a P-type semiconductor. The drain and so

Traditional Model - Performance Monitoring and Control The traditional model talks only about the finance and the financial accounting model. The output are published periodic

Discuss the feature of Pentium in brief. The Pentium is a 32-bit superscalar, CISC microprocessor.  The word superscalar is used for the processor that has more than one pipeli

Phenol and Formaldehyde are polymerised to a resultant product known as (A) PVC.                                  (B) bakelite. (C)  Polyester.                        (D)

a) With the help of a neat and clean sketch illustrate the difference between relative and absolute motion measuring device. b) Discuss electromechanical methods for calculating

Refer to the op amp circuit shown below. Let R 1 = 140 k_, R 2 = 10 k_, R 3 = 10 k_, R 4 = 20 k_, RL = 10 k_. Assume the op amp is ideal. Find the equation relating the