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

Diode schematic symbol, Diode Schematic Symbol The diode in figure is ...

Diode Schematic Symbol The diode in figure is a unidirectional device. Electron current just only flows in one direction, against the arrow, corresponding to forward bias. The

Determine the output voltage increment, (a) Design a 6-bit R-2 R ladder D/A...

(a) Design a 6-bit R-2 R ladder D/A converter. (b) For V ref = 10 V, find the maximum output voltage. (c) Determine the output voltage increment. (d) If the output voltag

Compute the required value, Q. In an AM transmitter that transmits a total ...

Q. In an AM transmitter that transmits a total power of 1 kW, the unmodulated carrier power is 850 W. Compute the required value of (S i /N i )AM at a receiver, if (S 0 /N 0 )AM

Single Phase Induction Motor, How do I connect a Capacitor on the machine i...

How do I connect a Capacitor on the machine if it has a start mechanism

Explain node-voltage and mesh-current analyses, Explain Node-voltage and me...

Explain Node-voltage and mesh-current analyses? The node-voltage and mesh-current methods, which complement each other, are well-ordered systematic methods of analysis for solv

Microprocessor, what is the function of CBW in the microprocessor

what is the function of CBW in the microprocessor

What is the value of the lsb resistor, Q. For a 10-bit R-2R ladder-network ...

Q. For a 10-bit R-2R ladder-network D/A converter with an MSB resistor value of 10 k, what is the value of the LSB resistor?

Compute the worst voltage regulation, Q. The following data were obtained o...

Q. The following data were obtained on a 25- kVA, 2400:240-V, 60-Hz, single-phase distribution transformer: • Open-circuit test with meters on LV side: 240 V, 3.2 A, 165 W •

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