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

Determine the transfer function c/r for the block diagram, Feedback amplifi...

Feedback amplifiers are of great importance in electronic circuits. The block diagram of a class of feedback amplifier is shown in Figure. Determine the transfer function C/R for t

Register addressing , Register Addressing In this  mode the operand ar...

Register Addressing In this  mode the operand are microprocessors  registers only i, e  the operations is performed  within  various  registers of the  microprocessors  only.

Explain working of three-phase transformers, Q. Explain working of three-ph...

Q. Explain working of three-phase transformers? Transformation in three-phase systems can be accomplished in either of two ways: (1) connecting three identical single-phase tra

Variable capacitors, how can I simulate air variable capacitors in cst simu...

how can I simulate air variable capacitors in cst simulator?

Define and explain numerical aperture, Define and explain Numerical apertur...

Define and explain Numerical aperture? Figure shown below shows an incident ray to the fibre, The light bends at two interfaces, one at the air- core interface and the

Explain the construction of power transformer, Q. Explain, with the aid of ...

Q. Explain, with the aid of diagrams, the following in relation to the construction of power transformers. Include the advantages and disadvantages in your description. a) Core

Write a control word for counter 1 of 8253 / 8254, Write a control word for...

Write a control word for counter 1 of 8253 / 8254 that selects the following options:  load least significant byte only, mode 5 of operation and binary counting.  Then write an ins

Show how a 16-to-1 multiplexer can be obtained, Q. Using two 8-to-1multiple...

Q. Using two 8-to-1multiplexers and one 2-to-1multiplexer, show how a 16-to-1 multiplexer can be obtained in the form of a block diagram.

Find the total line current flowing through feeder, Q. Athree-phase, 60-Hz ...

Q. Athree-phase, 60-Hz substation bus supplies two wye-connected loads that are connected in parallel through a three-phase feeder that has a per phase impedance of 0.5 + j2 . Loa

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