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

Hysteresis results in a dissipation of energy, Hysteresis results in a diss...

Hysteresis results in a dissipation of energy Hysteresis results in a dissipation of energy which appears as a heating of the magnetic material. The energy loss associated wit

Describe the methods of improving commutation., There are two practical way...

There are two practical ways of improving commutation i.e. of making current reversal in the short - circuited coil as sparkless as possible. These methods are known as (i) resista

Asynchronous message passing and synchronous-message passing, Question: ...

Question: a) Differentiate between Asynchronous message passing and Synchronous-message passing. b) If keyboards are the predominant means of interface to human input, the

Customer indexing scheme, Customer Indexing Scheme: Customer indexing ...

Customer Indexing Scheme: Customer indexing has to be carried out in a way, that makes it probable to associate the customer's geographical and electrical address along with h

Show power and power factor in ac circuits, Q. Show Power and Power Factor ...

Q. Show Power and Power Factor in ac Circuits? Power is the rate of change of energy with respect to time. The unit of power is a watt (W), which is a joule per second (J/s). T

DC machine, importance of dummy coils and equalizer connections

importance of dummy coils and equalizer connections

Equivalent resistor reductions for the circuit, Q. Determine the voltages V...

Q. Determine the voltages V x using voltage division and equivalent resistor reductions for the circuits shown in Figure.

Transformer, Ask questiochan #Minimum 100 words accepted# characteristics o...

Ask questiochan #Minimum 100 words accepted# characteristics of transformer

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