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

Managing change, Managing Change: 1 The prominent actors included in t...

Managing Change: 1 The prominent actors included in the change procedure in an organisation are Change Makers, Change Agents, Change Leaders and they play a strategic role in

Service standards and agricultural users, Service standards: The forum...

Service standards: The forum of regulators (constituted through the central government for consistency in regulation in the area of distribution) will decide the basic framewo

Working of an astable multivibrator, Q. With the help of a npn transistor c...

Q. With the help of a npn transistor circuit and wave forms explain the working of an astable multivibrator In astable multivibrator both transistors are coupled to each other

Cmc complement carry instruction , CMC Complement Carry Instruction Th...

CMC Complement Carry Instruction This instruction complements  the carry  flag i .e   if the carry flag  is 1 before the execution of this  instruction it will be reset and if

Metering and billing system, Metering and Billing System Previously, y...

Metering and Billing System Previously, you have learnt about various measures for reducing commercial losses of a utility. You have studied in which the metering and billing

How to calculate the bus - bar voltage and kilowatt output., Q.   Two shunt...

Q.   Two shunt wound generators running in parallel supply a total load current of 4000 A. Each generator has an armature resistance of 0.02? and a field of 40?. The fiels are exci

What do you understand by analog to digital conversion, Q. What do you unde...

Q. What do you understand by Analog to Digital conversion? What do you understand by A/D conversion? Give an explanation of any one of the following A/D techniques: (i) Su

Basic introduction of analog building blocks, Q. Basic introduction of Anal...

Q. Basic introduction of Analog Building Blocks? Electronic systems usually process information in either analog or digital form. In order to process the two different kinds of

Show the procedure of binary addition, Q. Show the procedure of Binary Addi...

Q. Show the procedure of Binary Addition? Rules of Binary Addition 0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 0 , and carry 1 to the next more importan

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