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

Pre-processing requirements - cpld design project , The pre-processing unit...

The pre-processing unit is responsible for taking the conditioned output from the heart sensor and generating a binary count during time T1 of this waveform (datain). It will compr

What is button, A button does some command in a program when it is clicked....

A button does some command in a program when it is clicked. Buttons generally have a 3-dimensional look, although you may have to move the mouse over the button for it to look 3D.

Load carrying capacities , Task a)    Investigate and describe the sign...

Task a)    Investigate and describe the significance of the following: i.    Slenderness ratio and buckling in columns ii.    Effective length of columns b) Explain Eu

Unit to measure the electric charge q, Unit to measure the electric charge ...

Unit to measure the electric charge Q?? The unit used to measure the quantity of electrical charge Q is called the coulomb C

Matlab, to design wheatstone bridge

to design wheatstone bridge

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.

Reverse recovery characteristics, Reverse Recovery Characteristics At t...

Reverse Recovery Characteristics At the end of forward  conduction in diode  reverse current  flows for  a short  time. The  device  doesn't  attain its full blocking  capabili

Why positive feedback is used in oscillator, Q. Why positive feedback is us...

Q. Why positive feedback is used in oscillator? The main application of positive feedback is in oscillators. An oscillator generates AC output signal without any input AC signa

Determine the mechanism of generation of the voltage, (a) Identify the semi...

(a) Identify the semiconductor type in the above diagram. (b) Explain the mechanism of generation of the voltage V AB in the above diagram. (c) An experimental setup like th

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