Sampling, Electrical Engineering

Assignment Help:

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?


Related Discussions:- Sampling

Find current-voltage-resistance or power, 1.   Work out the  voltage for ...

1.   Work out the  voltage for the following arrangement of 1.5V cells : (to achieve a pass grade, solve problems with cells in series, parallel and series-parallel) 2.

What the voltage gains in the fet amplifier, Q. What the voltage gains in t...

Q. What the voltage gains in the FET amplifier? For common source  Voltage gain=V o /V i = - µRd / Rd + rd where µ is the amplification factor,Rd the drain resistance a

Explain how switching systems are classified, Question 1 Explain how switc...

Question 1 Explain how switching systems are classified Question 2 Explain the function of pulse dialing in rotary dial telephone Question 3 Explain the functioning of crossba

Calculate voltage and frequency, The stator and rotor of a three-phase, 440...

The stator and rotor of a three-phase, 440-V, 15-hp, 60-Hz, eight-pole, wound-rotor induction motor are both connected in wye and have the following parameters per phase: R1 = 0.5

What ratio is needed for the cable, Q. If b and a are the radii of the oute...

Q. If b and a are the radii of the outer and inner conductors, respectively, of a coaxial cable using a polyethylene dielectric (ε r = 2.26), what ratio b/a is needed for the cabl

Determine current in mosfet circuit, Consider the basic MOSFET circuit show...

Consider the basic MOSFET circuit shown in Figure with variable gate voltage. The MOSFET is given to have very large V A , V T = 4V,and I DSS = 8 mA. Determine i D and v DS for

Test quipment, The frequency of an oscillator may be measured by an oscillo...

The frequency of an oscillator may be measured by an oscilloscope with a callbrated time base(True/False)

Determine the output waveform of the voltage, Q. The first four harmonics i...

Q. The first four harmonics in the Fourier series of current waveform given by where I m = 15 mA and T = 1 ms. If such a current is applied to a parallel combination of R

Design the low-pass filter, Q. Design the low-pass filter shown in Figure (...

Q. Design the low-pass filter shown in Figure (by determining L) to have a half-power frequency of 10 kHz.

Find instantaneous electromagnetic torque, Consider an elementary two-pole ...

Consider an elementary two-pole rotating machine with a uniform (or smooth) air gap, as shown in Figure, inwhich the cylindrical rotor ismountedwithin the stator consisting of a ho

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd