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

100 line exchange with two-motion line finders, In this design, there are 2...

In this design, there are 24 line finders. If any of the 100 subscribers has to get access to any of 24 two-motion selectors, it is necessary that every line finder is capable of r

Calculate power delivered to the network, Calculate power delivered to the ...

Calculate power delivered to the network: 1. A wave is traveling from left to right, emerging from Z g =50 with a peak amplitude of V p =5V. The 1-port network [S] has in=0.5-

Matlab, design analog normalised low pass filter by using matlab routine ch...

design analog normalised low pass filter by using matlab routine cheb1ap

Induction heating - -stepper motor , Normal 0 false false f...

Normal 0 false false false EN-IN X-NONE X-NONE Induction Heating When alternating curren

Process of amplitude modulation, Q. Process of Amplitude Modulation? In...

Q. Process of Amplitude Modulation? In AM the message signal is impressed on the amplitude of the carrier signal. There are several different ways of amplitude modulating the c

Triggering capabilities of logic analyser, trigger capabilities of logic an...

trigger capabilities of logic analyser that differentiate it from other devices???

Digital control system, block diagram of digital control system and explain...

block diagram of digital control system and explain each block

Create a time diagram - conveyer, When the PLC is in the RUN mode it will s...

When the PLC is in the RUN mode it will switch ON the conveyer so it will run continuously. This project is divided into four outcomes: (a)    Detect block on entry, close

In-depth technical competence, Professional engineers engage with a wide ra...

Professional engineers engage with a wide range of technically advanced and complex problem. So technical know-how is necessary to solve problems, advance existing technologies and

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