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

Switching characteristics - power semiconductor devices, Switching charact...

Switching characteristics When  a positive signal  is applied GTO starts  conducting before  initiation of  conduction anode  current  is zero  and anode to cathode voltage Va

Explain the importance of distributing frames, Q. Explain the Importance of...

Q. Explain the Importance of distributing frames? Basically four levels of cabling are used as displayed in Figure. At the subscriber end, drop wires are taken to a distributio

How typical dma controller can be interfaced to 8086/8085, Show how a typic...

Show how a typical DMA controller can be interfaced to an 8086/8085 based maximum mode system. For 8088 in maximum mode: The RQ/GT1 and RQ/GT0 pins are utilized to issue DMA

What is meant by daisy chaining method, What is meant by Daisy Chaining met...

What is meant by Daisy Chaining method?  It does not need any priority resolving network, rather the priorities of all the devices are effectively assumed to be in sequence.

Op-amp amplifier, A voltage signal generated by a sensor conditioning circu...

A voltage signal generated by a sensor conditioning circuit varies from -0.5V to +0.5V . The signal from the sensor is to be connected to the analog to digital  converter which onl

Illustration of embedded web technology, Illustration of embedded web techn...

Illustration of embedded web technology An oven comprise an embedded processor. Owner can use a web ready mobile phone anywhere to control the oven remotely. By accessing a

Partial fraction expansion for z transformation, how should I calculate in...

how should I calculate inverse z transform of 1/0.729z^-1+0.729z+1.5314

Describe the uses of GPS map, Describe the uses of GPS map This is far...

Describe the uses of GPS map This is far safer because a driver of a vehicle doesn't have to consult maps while driving. It also removes error (for example going the wrong way

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