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

Calculate the cross-sectional area, Calculate the cross-sectional area, in...

Calculate the cross-sectional area, in mm 2 , of a piece of aluminium wire 100 m long and having a resistance of 2Ω. Take the resistivity of aluminium as 0.03 x 10-6 Ωm.

What do you mean by pipelining in an 8086 processor, What do you mean by pi...

What do you mean by pipelining in an 8086 processor? The computer is composed of two kinds that operate  asynchronously single part called a BIU in the 8086,fetches instruction

Digital transmission on fading multipath channels, Digital Transmission on ...

Digital Transmission on Fading Multipath Channels We have discussed thus far digital modulation and demodulation methods for the transmission of information over two types of c

Show common signal-processing operations, Q. Show Common signal-processing ...

Q. Show Common signal-processing operations? Common signal-processing operations include the following: • Amplification to compensate for attenuation • Filtering to reduc

Draw the phasor diagrams for an rlc series circuit, Draw the phasor diagram...

Draw the phasor diagrams for an RLC series circuit supplied by a sinusoidal voltage source with a lagging power factor and a GLC parallel circuit supplied by a sinusoidal current s

Phase equilibria, distinguish between brittle and ductile fracture

distinguish between brittle and ductile fracture

Compound motor , Compound motor It is possible to arrange for part of...

Compound motor It is possible to arrange for part of the field  coil to be in series with the armature and part in parallel   This gives rise to a motor with a mix

Compute the speed, Athree-phase,wye-connected, 220-V, 10-hp, 60- Hz, six-po...

Athree-phase,wye-connected, 220-V, 10-hp, 60- Hz, six-pole inductionmotor (using Figure 13.2.6 for notation) has the following parameters in ohms per phase referred to the stator:

Crossmagnetisation, what is crossmagnetisation in dc generator

what is crossmagnetisation in dc generator

Design the low-pass filter, Q. Design the low-pass filter shown in Figure (...

Q. Design the low-pass filter shown in Figure (by determining L) to have a half-power frequency of 10 kHz.

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