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

Refrigeration and airconditioning, Ask question #Minimum 100 words acceptTh...

Ask question #Minimum 100 words acceptThere are various refrigeration systems employing various methods. State any seven (7) refrigeration systems, mention the method(s) employed t

Define stability - characteristics of discrete time systems, Define Stabili...

Define Stability - Characteristics of Discrete Time Systems? The LTI system is stable if its impulse response satisfies the condition This condition is satisfie

What is meaning of parallel in - serial out shift register, What is the Mea...

What is the Meaning of Parallel In - Serial Out Shift Registers? A four-bit parallel in - serial out shift register is shown below D0, D1, D2 and D3 are parallel inputs

Explain mesh analysis, Mesh analysis Analysis using KVL to solve for th...

Mesh analysis Analysis using KVL to solve for the currents around every closed loop of the network and hence verify the currents through and voltages across every elements of t

Air gaps, What is the main thing to look for in calculations of air gaps?

What is the main thing to look for in calculations of air gaps?

Characteristics of common source amplifier, Characteristics of Common Sou...

Characteristics of Common Source Amplifier At low frequencies and by using a simplified hybrid-pi model, the following small-signal characteristics can be derived.

Describe watch dog timer and reaction timer, a. Given a timer with a termin...

a. Given a timer with a terminal count and a clock frequency of 10 MHz measure the following: (i) Range & Resolution (ii) Terminal count values needed to measure 3ms interval

What effect do non-tradable goods have on ppp, Q. What effect do non-tradab...

Q. What effect do non-tradable goods have on PPP? Answer: The consequence is quite substantial. In 1997 the production of non-tradable goods accounted for about 55% of U.S GN

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