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

Briefly explain automotive ignition system, Q. Briefly explain Automotive I...

Q. Briefly explain Automotive Ignition System? Ignition systems in automobiles have been designed as a straightforward application of electrical transients. Figure shows a simp

General purpose registers, General  Purpose  Registers Registers B, C...

General  Purpose  Registers Registers B, C ,D, E H , and L   are 8 bit  general  purpose  registers. These  registers store  8 bit  data  temporarily  for processing. Some

Example of binary subtraction of negative number , Example of binary subtra...

Example of binary subtraction of Negative number Case 2.   Negative number is more than  the positive number ( i e, answer  is negative)  Example : Subtract 92 10 ( 101

What are the drawbacks of microprocessor, There is a limitation on the size...

There is a limitation on the size of data. Most Microprocessor does not maintain floating-point operations.

Electromechanical energy conversion, derived expression for reluctant torqu...

derived expression for reluctant torque in rotating electrical machine

Develop the equivalent circuits, (a) contains a freewheeling diode Dm, comm...

(a) contains a freewheeling diode Dm, commonly connected across an inductive load to provide a path for the current in the inductive load when the switch S is opened after time t (

Define number systems, Q. Define Number Systems? A number system, in ge...

Q. Define Number Systems? A number system, in general, is an ordered set of symbols (digits) with relationships defined for addition, subtraction, multiplication, and division.

Determine the synchronous speed in revolutions per minute, Q. Determine the...

Q. Determine the synchronous speed in revolutions per minute and the useful torque in newton- meters of a 200-hp, 60-Hz, six-pole synchronous motor operating at its rated full load

Semiconductor equations, Semiconductor Equations  The semiconductor e...

Semiconductor Equations  The semiconductor equations that are relating these variables are shown below: Carrier density: n = n i exp (E FN - E i / KT)        (1)

Define temperature coefficient of resistance, Define temperature coefficien...

Define temperature coefficient of resistance. Temperature coefficient of resistance is explained as the change in resistance of a material per ohm per degree change in temperat

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