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

Advantages of software defined radio, Advantages of SDR 1. Easy to upgr...

Advantages of SDR 1. Easy to upgrade 2. Great flexibility. It can be dynamically updated with new software without any changes in hardware 3. Due to reduced number of har

What are the supplementary services, Q. What are the supplementary services...

Q. What are the supplementary services? new services are called supplementary services and some of the prominent ones are as below: Category 1: Abbreviateddialling

Governer, governer characteristics

governer characteristics

Amper circuital lw, the plot of amper circuital law by using matlap?

the plot of amper circuital law by using matlap?

Explain law all point on wave front seems as new wave source, Whose princip...

Whose principle or law states that each point on a wave front may be considered a new wave source? Is it: w) Snell's Law x) Huygen's Principle y) Young's Law z)

Discuss the nature of sinusoidal signal, Q. Discuss the nature of sinusoida...

Q. Discuss the nature of sinusoidal signal? Discuss the nature of evenness and oddness of: (a) The sinusoidal signal x(t) = A cos(2πf 0 t + θ). (b) The complex exponentia

Sketch the d.c. equivalent circuit of the amplifier, Question: Figure s...

Question: Figure shows the basic circuit of the BJT Common Emitter Amplifier. (a) What is the function of RB, RC, Ci, Co and CE ? (b) (i) Sketch the d.c. equivalent circu

Determine the admittance of the parallel combination, Q. The voltage across...

Q. The voltage across a parallel combination of a 100- resistor and a 0.1-µF capacitor is 10 cos(5000t +30°) V. Determine the admittance of the parallel combination and find the c

Find the flux density in the air gap of the right leg, Q. In the magnetic c...

Q. In the magnetic circuit shown in Figure the center leg has the same cross-sectional area as each of the outer legs. The coil has 400 turns. The permeability of iron may

Determine the binary values of the first three samples, A 3-bit quantizer i...

A 3-bit quantizer is utilized to transform the following signal into a binary digital signal. Determine the binary values of the first three samples (assuming the quantizer rounds

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