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

Diatomic molecules in three dimensions, Consider the open rotation of a dia...

Consider the open rotation of a diatomic molecule consisting of two atoms of mass and respectively divided by a distance presume that the molecule is rigid with center of mass fixe

Calculate the supply line current, A balanced star-connected load is connec...

A balanced star-connected load is connected across a three phase 450V 50 Hz AC supply. Each load element has an impedance of 5+j12 Ω. Calculate: (i)  The power factor of the

What are the signals used in input control signal, What are the signals use...

What are the signals used in input control signal & output control signal? Input control signal STB (Strobe input) IBF (Input buffer full) INTR(Interrupt request) Ou

Induction motor, A 100hp,460v,8pole,60hz,star connected 3phase IM runs at 8...

A 100hp,460v,8pole,60hz,star connected 3phase IM runs at 891rpm under full load what is the speed of the rotor field relative to i)rotor structure ii)stator rotating field

Evaluate the voltage gain, Q. On a CD amplifier R s = 4k?, µ =50 and r =35...

Q. On a CD amplifier R s = 4k?, µ =50 and r =35k?. Evaluate the voltage gain A v . A v = V o /V i = µRs / (µ+1)Rs + r

Explain polyphase induction motor, Q. Explain polyphase induction motor? ...

Q. Explain polyphase induction motor? The polyphase induction motor operates with polyphase alternating current applied to the primary winding, usually located on the stator of

Explain nodes analysis, Nodes analysis Analysis using KCL to solve for ...

Nodes analysis Analysis using KCL to solve for voltages at every common node of the network and as determines the currents by and voltages across every elements of the network.

Explain repetitive coverage of satellite, Q. Explain Repetitive coverage of...

Q. Explain Repetitive coverage of satellite? Due to repeated passes of the satellite over the same reach, data is repeatedly acquired. Therefore, comparisons of a dynamic pheno

Determine the transfer functions, The Ward-Leonard system, which is used in...

The Ward-Leonard system, which is used in the control of large dc motors employed in rolling mills, is a highly flexible arrangement for effecting position and speed control of a s

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