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

Pdc, disadvantages of shunt&series clippers

disadvantages of shunt&series clippers

Find the effective area of a half-wave dipole, Q. The effective area of a d...

Q. The effective area of a dipole is given by A e =0.13λ 2 . Find the effective area of a half-wave dipole at 3 GHz.

Frequency synthesized signal generator, Q. what is frequency synthesized si...

Q. what is frequency synthesized signal generator? Describe its circuit in detail. OR Give the circuit details of frequency synthesizer also explain its working. OR

Name the materials used in case of solder, Name the materials used in case ...

Name the materials used in case of Solder and give reasons. Solder : For soft solders tin, lead (in 50-50 ratio) alloy and for hard solders copper- zinc and silver alloy

Mobile communication, #qConsider a point-to-point radio link between two hi...

#qConsider a point-to-point radio link between two highly directional antennas in a stationary environment. The antennas have antenna gains of 30 dB, distance attenuation is 150 dB

Determine gold and silver are which type of materials, Gold and silver are ...

Gold and silver are (A) Dielectric materials (B) Low resistivity conducting materials. (C) Magnetic materials. (D) Insulating materials. Ans: Gold and si

Microprocessor, Memory map of tpa in a personal computer and explain such o...

Memory map of tpa in a personal computer and explain such of the areas in brief

Show advantages of oscillators, Q. Show Advantages of Oscillators? Alth...

Q. Show Advantages of Oscillators? Although oscillations can be produced by mechanical devices (e.g. alternators), but electronic oscillators have the following advantages:

What are the various flags used in 8085, The various flags are: - Sign flag...

The various flags are: - Sign flag,  Axillary flag, Zero flag, Parity flag, Carry flag.

\, Refer to Figure 100. Assume MKS units. Given: R1= 4, R2=14, R3= 9, I4...

Refer to Figure 100. Assume MKS units. Given: R1= 4, R2=14, R3= 9, I4= 8, I5= 7. Determine: Ieq, Req, and V3.

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