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

Explain quantizing analog signals, Explain Quantizing Analog Signals? ...

Explain Quantizing Analog Signals? A common analog-to-digital conversion pipeline contains a spectrum limiter (a simple low-pass or bandpass filter), a sample and hold circuit

Amper circuital lw, the plot of amper circuital law by using matlap?

the plot of amper circuital law by using matlap?

Successive-approximation analog to digital converter, Successive-approximat...

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

Find the minimum load resistor, Q. Consider the non inverting amplifier. Le...

Q. Consider the non inverting amplifier. Let R i = 1k and R f = 2k. Let the op amp be ideal, except that its output cannot exceed ±12 V at a current of ±10 mA. (a) Find the

Determine the power flow diagram for a dc generator, a. Determine the power...

a. Determine the power flow diagram for a DC generator. b. A shunt wound DC generator delivers 496 A at 440 V to a load. The resistance of  the shunt field coil is 110? and that

Segment assembler directive, What do you understand by SEGMENT assemble...

What do you understand by SEGMENT assembler directive? SEGMENT: This directive explains to the assembler the start of a segment along with name segment-name. The segment

Zener diode, what is Zener diode ? give some uses of it .

what is Zener diode ? give some uses of it .

Explain register direct and indirect data addressing mode, Explain Register...

Explain Register Direct and Indirect data addressing mode (with examples) available in microprocessors. Register Direct Modes and Register Indirect Modes: Does not giv

Power diode - power semiconductor devices , Power Diode A power diode i...

Power Diode A power diode is a two terminal, anode a and cathode K and  two layer P  and  N  junction devices. A PN  junction normally  formed  by allowing  diffusion and epita

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