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

Factors affecting choice of observation, Factors Affecting Choice of Obser...

Factors Affecting Choice of Observation: Observers are influenced by a number of factors in the process of observation. Black and champion have identified three such factors.

Reporting requirements for distribution licensees, Reporting Requirements f...

Reporting Requirements for Distribution Licensees Distribution licensees are needs to provide operational reports, commercial reports, financial reports, energy audit reports

Determine the node voltage by using kcl, Determine the node voltage by usin...

Determine the node voltage by using KCL: Determine the node voltage V and then current flowing through each element by using KCL. Solution Apply KCL at the node whose

One byte instructions , One byte Instructions One byte  instruction i...

One byte Instructions One byte  instruction include  both the opcode  operand in the  same byte. To identify  one byte  instruction one  must  observe followings  things .

Explain commutator action in dc machine, Q. Explain Commutator Action in dc...

Q. Explain Commutator Action in dc machine? As a consequence of the arrangement of the commutator and brushes, the currents in all conductors under the north pole are in one di

Compute the motor speed, Consider the 220-V, 1800-r/min dc motor, controlle...

Consider the 220-V, 1800-r/min dc motor, controlled by a three-phase fully controlled rectifier from a 60-Hz ac source. The armature-circuit resistance and inductance are 1.5  and

Discuss need of pipelining, Discuss need of Pipelining. The simplest m...

Discuss need of Pipelining. The simplest method for improving performance by hardware parallelism is pipelining. Pipelining has breaking up the operations to be performed in s

Digital electronics, an 8 bit successive approximation adc has a resolution...

an 8 bit successive approximation adc has a resolution of 20mv. what will be its ouput analogue input of 2.17v

Beem, Ballistic galvanometer

Ballistic galvanometer

Differential amplifier to eliminate the common-mode voltage, Q. Differentia...

Q. Differential amplifier to eliminate the common-mode voltage? The transducer in some cases may have a local ground that cannot be disconnected. In such a case, a separate gro

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