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

Find v and i , Find V and I in the figure given below using ideal diode mod...

Find V and I in the figure given below using ideal diode model

Determine rc in given figure, Q. Afixed-biasmethod is illustrated in Figure...

Q. Afixed-biasmethod is illustrated in Figure. Assuming ICBO to be small compared to I BQ and I CQ , find RB such that the operating point corresponds to I CQ = 14 mA, V CEQ = 7

What are the benefits of ccs over in-channel signalling, Q. What are the be...

Q. What are the benefits of ccs over in-channel signalling? The benefits of CCS over in-channel signalling are listed below: a. Information can be exchange between processor

Use of speaker, Q. Use of Speaker? Speaker:Basically speaker is the rec...

Q. Use of Speaker? Speaker:Basically speaker is the receiver for telephone. Speaker converts electrical signals received from local loop to acoustical signals(sound waves) that

Student, Can I get some ideas for power system stability simulation using M...

Can I get some ideas for power system stability simulation using Matlab?

Explain bandwidth and applications of rc coupled amplifier, Q. Explain the ...

Q. Explain the bandwidth for the curve and the applications of an RC coupled amplifier. Frequency response curve of an RC coupled amplifier was shown above(prev page). The cut

Explain thermal noise, Thermal noise This is the most significant noise...

Thermal noise This is the most significant noise in an ampli?er. It is produced by random movements of electrons in the resistors. This is caused by the ?uctuations in the volt

N-type semiconductor, a)  Sketch the variation of electron concentration wi...

a)  Sketch the variation of electron concentration with temperature for i)  an n-type semiconductor doped with 1021  donors m-3 ii)  an intrinsic semiconductor.  b)  Expla

Design the synchronous sequential circuit for state diagram, Design the Syn...

Design the Synchronous Sequential Circuit for State Diagram Illustration: - We wish to design the synchronous sequential circuit whose state diagram The kind of flip-f

Explain the ascii character set - microprocessor, Explain the ASCII Charact...

Explain the ASCII Character Set? Most programming languages have a means of defining a character as a numeric code and, conversely, converting the code back to the character. ASC

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