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
Triac  As the  name  suggests TRIAC  is advice which  has three  electrodes and works  on AC.  The three terminals of triac are MTI ( Main Terminal ) MT2 ( Main  terminal ) an

Switching Characteristics Switching  characteristics  of BJT  are shown  in figure. Due  to the presence of internal  capacitances BJT  cannot be  turned  instantly. Initially


Q. A 25-kVA, 2300:230-V, 60-Hz, single-phase transformer has the following parameters: resistance of high-voltage winding 1.5 , resistance of low-voltage winding 0.015 , leakage

Theft or Pilferage of Power by the Existing Customers Power theft through the existing consumers is the predominant cause of loss of revenue to the electrical utilities. Almos

Define the X-NOR or Exclusive-NOR Gate?   This is the EX-OR gate with the output inverted, as shown by the 'o' on the output and the output Q is true if inputs A and B a

Q. Consider an RL series circuit excited by (a) v(t) = 20e -2t V, and (b) v(t) = 20 V. Determine the forced component of the voltage across the inductor for R = 2  and L = 2H.


Linear Equalizer and Decision Feedback Equalizer Simulation and Performance Comparison In this project , performance of decision feedback equalizer is analyzed,

For the amplifier circuit shown in Figure with R i ≅ ∞,R o ≅ 0,A = 10,R L = 100 , and v in = 1 V, calculate the power dissipated in the amplifier if the voltage at the power-s