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

Dc generators, How do i calculate critical resistance?

How do i calculate critical resistance?

Machines, what is power factor of generator at overexcitation

what is power factor of generator at overexcitation

Find the percent voltage regulation of the transformer, Q. A 25-kVA, 2400/2...

Q. A 25-kVA, 2400/240-V, 60-Hz, single-phase transformer has an equivalent series impedance of 3.45 + j5.75  referred to the primary high voltage side. The core loss is 120 W. Whe

Mainframes - introduction to microprocessors , Mainframes Computers lar...

Mainframes Computers larger than minicomputer more power  operating at very high speed  called  mainframes.  They  can processes 64  bit data.  Such computers are used  in defe

Consider four cases of operation and explain jk flip-flop, Q. J and K are t...

Q. J and K are the external inputs to the JKFF shown in Figure. Note that gates 1 and 2 are enabled only when the clock pulse is high. Consider the four cases of operation and expl

Show quantization error, Quantization Error Sampling followed by quanti...

Quantization Error Sampling followed by quantization is equivalent to quantization followed by sampling. Figure illustrates a message signal f (t) and its quantized version den

Bus organisation, Bus Organisation Set of  communication lines in micro...

Bus Organisation Set of  communication lines in microprocessor  which  carry  bits from microprocessor to  peripherals  ( memory  inputs ports  output  ports  and other chips

Discuss in detail about pulse broadening graded index wave, Discuss in deta...

Discuss in detail about pulse broadening in graded index waveguide ? Intermodal dispersion within multimode fibers is minimized along with the use of graded index fibers, ther

Construction of inductor, Construction of inductor An inductor is usual...

Construction of inductor An inductor is usually constructed as a coil of conducting material, typically opper wire, wrapped around a core either of air or ferrous material.

Compute the force, Q. Consider a current element I 1 d ¯ l 1 = 10 dz ¯ az...

Q. Consider a current element I 1 d ¯ l 1 = 10 dz ¯ az kA located at (0,0,1) and another I 2 d ¯ l 2 = 5dx ¯ ax kA located at (0,1,0). Compute d ¯ F 21 and d ¯ F 12 experienc

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