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

History - field-effect transistor, History - Field-Effect Transistor: ...

History - Field-Effect Transistor: The principle of field-effect transistors was very first patented by Julius Edgar Lilienfeld in the year 1925 and by Oskar Heil in the year

Find the change in energy received by the charge, Q Acharge of 0.1Cpasses t...

Q Acharge of 0.1Cpasses through an electric source of 6 V from its negative to its positive terminals. Find the change in energy received by the charge. Comment onwhether the charg

Analog Fundamentals, Module 1 Discussion: Application of operational Amplif...

Module 1 Discussion: Application of operational Amplifier

Sr flip-flop, SR FLIP-FLOP (SRFF) The symbol for the SRFF is shown in F...

SR FLIP-FLOP (SRFF) The symbol for the SRFF is shown in Figure (a), in which S stands for "set," R stands for "reset" on the input side, and there are two outputs, the normal o

Give the significance of sim and rim instruction, Give the significance of ...

Give the significance of SIM and RIM instruction available in 8085. Instruction SIM: Set Interrupt Mask. This is a 1 byte instruction and can be used three dissimilar functio

Asset information management system, Asset information management system: ...

Asset information management system: GIS has the potential to revolutionize the reform procedure in areas such as consumer indexing, asset and work management, distribution ne

Analysis on solar charging system buck converter with VMC, PLS WRITE THE IN...

PLS WRITE THE INTRODUCTION, METHODOLOGY AND LITERATURE REVIEW

Rectifier, the forward resisitance of a semi conductor diode is 10 ohm, two...

the forward resisitance of a semi conductor diode is 10 ohm, two such diodes used in full wave rectifier subjectto a sinusoidal voltage wave form. given by v(t)=308 , sin(100 pi t)

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