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

TTL NAND gate, Q. Explain working of TTL NAND gate? The TTL logic famil...

Q. Explain working of TTL NAND gate? The TTL logic family uses only transistors instead of a combination of transistors and diodes. TTL has the same high and low ranges as DTL.

Sketch the phasor diagram, Consider an RLC series circuit excited by v (t) ...

Consider an RLC series circuit excited by v (t) = 100√2 cos 10t V, with R = 20 , L = 1 H, and C = 0.1 F. Use the phasor method to find the steady-state response current in the cir

Calculate the voltage regulation, The per-phase synchronous reactance of a ...

The per-phase synchronous reactance of a three-phase, wye-connected, 2.5-MVA, 6.6-kV, 60-Hz turboalternator is 10 . Neglect the armature resistance and saturation. Calculate the v

Cipper, when i/p voltg is grater than battery diode is clse or open

when i/p voltg is grater than battery diode is clse or open

Illustrate hexadecimal number system, Q. Illustrate Hexadecimal Number Syst...

Q. Illustrate Hexadecimal Number System? A big difficulty with the binary system is verbosity. To symbolize the value 202 requires eight binary digits. The decimal version n

Give properties and uses of silicon and nickel iron alloys, Give the proper...

Give the properties and uses of silicon iron alloy and nickel iron alloy. Silicon Iron alloy: Pure iron has low resistivity that results in higher eddy current losses. These

Usage of fixed bias, Usage: Because of the above inherent drawbacks, f...

Usage: Because of the above inherent drawbacks, fixed bias is seldom used in linear circuits (that is those circuits which use the transistor like a current source). Instead,

Find the line current delivered by the source, Q. Balanced wye-connected lo...

Q. Balanced wye-connected loads drawing 10 kW at 0.8 power factor lagging and 15 kW at 0.9 power factor leading are connected in parallel and supplied by a 60-Hz, 300-V, three-phas

Explain current and magnetic force, Q. Explain Current and Magnetic Force? ...

Q. Explain Current and Magnetic Force? The rate ofmovement of net positive charge per unit of time through a cross section of a conductor is known as current, i(t) = dq / dt

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