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

Explain common emitter circuit, Q. Explain Common Emitter Circuit With The ...

Q. Explain Common Emitter Circuit With The Help Of A Circuit Diagram? Most transistor circuits have the emitter,rather than the base,as the terminalcommon to both input and out

Digital demodulator processes, Q. Digital demodulator processes? The fu...

Q. Digital demodulator processes? The functions of the receiver in Figure are the inverse of those in the transmitter. At the receiving end of a digital communication system, t

Current transformers., CT 10VA, 50A/5A, 6ohz, 2.4KV required nominal primar...

CT 10VA, 50A/5A, 6ohz, 2.4KV required nominal primary voltage?

Explain fourth group of 32 ascii character code, Explain Fourth group of 32...

Explain Fourth group of 32 ASCII character code? The fourth, and final, group of 32 ASCII character codes are set aside for the lower case alphabetic symbols, five additional

Determine the voltage across each resistor, For the circuit of Fig: (i) ...

For the circuit of Fig: (i) using Kirchoff's Laws , find all the currents (ii)  determine the voltage across each resistor and check that all loops comply with KVL (iii

Discuss important properties and uses of ceramics, Discuss important proper...

Discuss important properties and uses of Ceramics. Ceramics - These are materials made by high temperature firing treatment of natural clay and specific inorganic matters. The

Loops and subroutines, 1.....If viewing this through the Assignment tool, c...

1.....If viewing this through the Assignment tool, click the title above to go to the Submissions area. Introduction The purpose of this experiment is to examine the opera

Determine the current and voltage for n-channel jfet, Q. An n-channel JFET ...

Q. An n-channel JFET with A = 300 V, P = 2 V, and I DSS = 10 mA is to be operated in the active mode. Determine i D when v DS = 10 V and v GS =-0.5V.

Explain the theory of thermal runaway, Q. Explain the theory of thermal run...

Q. Explain the theory of thermal runaway?           The maximum average power Pdmax which a transistor can dissipate depends upon the transistor construction and may lie in the

Direct addressing , Direct Addressing In this  addressing  mode one  o...

Direct Addressing In this  addressing  mode one  of the  operands is the  data stored  in the memory. The memory  address of the  operand is directly  given in the instruction

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