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

Examples of attribute data relevant for a power utility, Examples of attrib...

Examples of attribute data relevant for a power utility: Examples of attribute data relevant for a power utility are given below. •          Consumer data such as categor

Pop psw instruction , POP PSW Instruction It is similar to  above pop...

POP PSW Instruction It is similar to  above pop  instruction but instead of normal  register  pairs it uses PSW  as its operand. Program status word  comprises of the content

Composition of fet, Composition of FET The FET (field-effect transisto...

Composition of FET The FET (field-effect transistor) can be constructed from several semiconductors, silicon being by far the most common. Several FETs are made with conventio

What are the precautions to be taken, What are the precautions to be taken ...

What are the precautions to be taken before basic work on electrical installations? Ans: Before starting any electrical works on installations disconnect the power supply to

Flow Chart and Cause-Effect Diagram, Flow Chart and Cause-Effect Diagram ...

Flow Chart and Cause-Effect Diagram Flow Charts Flow charts are pictorial representations of a procedure. By breaking the procedure down within its constituent steps, f

Single sinusoid, Power up the "TIMS" unit by using the switch at the back. ...

Power up the "TIMS" unit by using the switch at the back. Connect the Pico Virtual Instrument (PicoScope) to the PC as per Appendix 1 On the "TIMS" unit, connect the 2 kHz (s

Find out which of the two motors, Find out which of the two motors: Tw...

Find out which of the two motors: Two three-phase induction motors while connected across a 400 V, 50 Hz supply are running at 1440 and 940 RPM respectively. Find out which of

Determine the stations visual-carrier frequency, If a television station op...

If a television station operates on UHF channel 20 (band 506-512 MHz), determine the station's visual-carrier frequency.

Usage of fixed bias, Usage: Because of the above inherent drawbacks, f...

Usage: Because of the above inherent drawbacks, fixed bias is seldom used in linear circuits (that is those circuits which use the transistor like a current source). Instead,

Physical operation of the junction of diode, Q. Physical operation of the j...

Q. Physical operation of the junction of diode? The physical operation of the junction can be described in terms of the charge-flow processes. Usually there is a greater concen

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