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

Calculate the resistivity of an alloy of copper, The resistivity of pure co...

The resistivity of pure copper is 1.56 micro-ohm -cm.  An alloy of copper contains 1 atomic percent nickel has a resistivity of 2.81 micro-ohm-cm. An alloy of copper containing 3-

Calculate the gross torque developed for a flux, Q. A four-pole, dc seriesm...

Q. A four-pole, dc seriesmotor has a lap-connected, two-layer armature winding with a total of 400 conductors. Calculate the gross torque developed for a flux per pole of 0.02 Wb a

Explain working of inverting amplifier, Q. Explain working of Inverting Amp...

Q. Explain working of Inverting Amplifier? One common op-amp circuit is shown in Figure. For the case of finite voltage gain Ao of an op amp that is otherwise ideal, the output

Write short note on common vs associated channel signalling, Q. Write short...

Q. Write short note on Common vs. associated channel signalling. Associated vs. Common channel signalling: Out band signalling suffers from very limited bandwidth. Both a

Chemical vapour deposition, Explain chemical vapour deposition method for t...

Explain chemical vapour deposition method for the preparation of nanomaterial and its properties

Explain cascading of multiple pics 8259, Explain cascading of multiple PICS...

Explain cascading of multiple PICS 8259.  The 8259A adds 8 vectored priority encoded interrupts to the microprocessor. It can be expanded to 64 interrupt requests by using one

Elucidate the nature of signals produced, Q. Elucidate the nature of signal...

Q. Elucidate the nature of signals produced on subscriber's loop by a pulse dialer and a touch tone dialer.  Ans: DTMF is a simple two-of -eight encoding scheme where every

What is message demodulation, Q. What is Message Demodulation? The majo...

Q. What is Message Demodulation? The major advantage of the conventional (standard) DSB AMsignal transmission is the ease with which the signal can be demodulated. Themessage s

Dual trace and dual beam cro, what is difference between dual trace and dua...

what is difference between dual trace and dual beam cro?

Give a few applications of superconductors, Give a few applications of supe...

Give a few applications of superconductors. Also give three applications of superconductors. Application of superconductors in Electrical and Electronic Engineering (i) The

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