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

What are the steps concerned to fetch a byte in 8085, What are the Steps co...

What are the Steps concerned to fetch a byte in 8085 The PC places the 16-bit memory address on the address bus The control unit sends the control signal RD to enable

Explain how leds are arranged in a seven segment display, Q. Explain how LE...

Q. Explain how LEDs are arranged in a seven segment display ? The illustration given below shows the basic layout of the segments in a seven- segment display. The segments the

Calculate the monthly electric bill, Calculate the monthly electric bill fo...

Calculate the monthly electric bill for TESTU.  Metering is as follows: B 00,000 kWHr C 00,000   kVARHr D 0,000        kW  peak demand Facilities Charge = $500

Show applications for synchronous motors, Q. Show Applications for Synchron...

Q. Show Applications for Synchronous Motors? With constant-speed operation, power factor control, and high operating efficiency, three-phase synchronous motors are employed in

Planned and coordinated development - rural electrification, Planned and co...

Planned and coordinated development: The CEA would prepare the global Electricity Plan after carefully carrying out the demand forecast in consultation along with stakeholders

Switching characteristics, Switching Characteristics The switching  cha...

Switching Characteristics The switching  characteristic  of an IGBT  during  turn on and turn off time all  shown  in the sum of delay time  and rise time gives  the total  tur

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

Comparison of rs232c and rs422a standards, Explain explanatory notes on com...

Explain explanatory notes on comparison of RS232C and RS422A standards. Comparison of RS232C and RS422A standards: RS232C 1. Standard explained for asynchronous commu

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

#titleclipper diode.., Ask quedisadvantages stion #Minimum 100 words accept...

Ask quedisadvantages stion #Minimum 100 words accepted#

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