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

The electrical circuit, Normal 0 false false false EN-U...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Differentiate between accuracy and precision, Q. With suitable example diff...

Q. With suitable example differentiate between accuracy and precision.  Sol. Accuracy :  Accuracy is the closeness with which instrument reading approaches the true value of

Find current-voltage-resistance or power, 1.   Work out the  voltage for ...

1.   Work out the  voltage for the following arrangement of 1.5V cells : (to achieve a pass grade, solve problems with cells in series, parallel and series-parallel) 2.

Explain 8259 pin diagram, Explain 8259 Pin Diagram. The 8259A adds 8 ve...

Explain 8259 Pin Diagram. The 8259A adds 8 vectored priority encoded interrupts to the microprocessor. It can be expanded to 64 interrupt requests by using one master 8259A and

Show the r’s complement, Q. Show the r’s Complement? Step1- get the (r-...

Q. Show the r’s Complement? Step1- get the (r-1)'s complement Step 2- add 1 to the result ex.            935 10                                     9 9 9

Explain magnetostriction, Explain Magnetostriction. Magnetostriction: I...

Explain Magnetostriction. Magnetostriction: If ferromagnetic materials are magnetized a small change of dimensions of the material obtains place. There is a small extension alo

Evaluate gm and pm for the asymptotic bode plot, Q. The loop gain of an ele...

Q. The loop gain of an elementary feedback control system(see Figure) is given by G(s)·H(s), which is 10/(1+s/2)(1+s/6)(1+s/50). Sketch the asymptotic Bode plot of the loop-gain fu

Jfet amplifier, i want to know the all the three jfet in present and future...

i want to know the all the three jfet in present and future use and desing for each component

DC Generators, The armature of a 6 pole, 600 r.p.m. lap wound generator has...

The armature of a 6 pole, 600 r.p.m. lap wound generator has 90 slots. if each coil has 4 turns, how do you calculate the number of conductors to calculate the flux per pole to gen

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