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 working of inverting amplifier, Q. Explain working of Inverting Amp...

Q. Explain working of Inverting Amplifier? One common op-amp circuit is shown in Figure. For the case of finite voltage gain Ao of an op amp that is otherwise ideal, the output

What are the modes used in display modes, What are the modes used in displa...

What are the modes used in display modes? 1. Left Entry mode In the left entry mode, the data is going into from the left side of the display unit. 2. Right Entry Mode

Logic gates, what component will be use for making or logic gates.

what component will be use for making or logic gates.

Show how conservation of power is satisfied by the circuit, Q. Show how the...

Q. Show how the conservation of power is satisfied by the circuit of Figure.

Describe about digital communication systems, Q. Describe about digital com...

Q. Describe about digital communication systems fl A digital signal can be deflned as having any one of a finite number of discrete amplitudes at any given time. The signal coul

Find the voltage at the load terminal, Q. Two three-phase generators are su...

Q. Two three-phase generators are supplying to a common balanced three-phase load of 30 kW at 0.8 power factor lagging. The per-phase impedance of the lines connecting the generato

Determine the force applied to the plunger by system, Q. For the electromag...

Q. For the electromagnet shown in Figure, the λ-i relationship for the normalworking range is given by i = aλ 2 + bλ(x -d) 2 ,where a and b are constants. Determine the force app

Merits and demerits of collector-to-base bias, Merits and Demerits of Colle...

Merits and Demerits of Collector-to-base bias: Merits: In this type of circuit the circuit stabilizes the operating point against differences in temperature and β (that i

Masking - immediate with accumulator instruction , Masking As we know...

Masking As we know the MASJ is used  to cover  some part  of our  face  which  we want to hide  and to  show  other part of the face  which  we want to show. Similarly  the

Trivector meter, Trivector Meter A trivector meter is designed to reco...

Trivector Meter A trivector meter is designed to record active, reactive and apparent energy along with MD indicators on all. The trivector meter is a compact unit.  It exchan

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