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

Determine the analog output voltage, Q. Analyze the 2-bit R-2R ladder-netwo...

Q. Analyze the 2-bit R-2R ladder-network D/A converter, and corresponding to binary 01, 10, and 11, obtain the equivalent circuits and determine the analog output voltage as a frac

Complex number and variabls, what is tha lapelace transform of t^n please g...

what is tha lapelace transform of t^n please give me the answer i am so worried about iy???

Define johnson counter to convert serial data, Define johnson counter to Co...

Define johnson counter to Convert Serial Data to Parallel Data? A microprocessor-based or computer system commonly requires incoming data to be in parallel format. But often t

Microprocessor development system, Write explanatory notes on  Microprocess...

Write explanatory notes on  Microprocessor development system. Microprocessor development system : Computer systems have undergone several changes recently. Machines which

What is non-folded network, Q. What is Non-Folded Network? Non-Folded ...

Q. What is Non-Folded Network? Non-Folded Network: In a switching network, all outlet/inlet connection may be used for inter exchange transmission. In such a case, exchange d

2365 - 305 task a, List four sources of information which are essential to ...

List four sources of information which are essential to the designer of this electrical installation.

Explain working of digital process control, Q. Explain working of Digital P...

Q. Explain working of Digital Process Control? Figure shows a block diagram for microcomputer-based control of a physical process, such as a chemical plant. A slight variation

Dsp causal LTI system, cosider a causal LTI system whose system function is...

cosider a causal LTI system whose system function is H(z)=1-1/5z^-1/(1-1/2z^-1+1/3z^-2)(1+1/4z^-1) find the direct form 1 and direct form 2

Find the decibels of improvement in signal-to-noise ratio, If a compressor ...

If a compressor in a system can change a message crest factor from 3.2 to 2, while maintaining its peak amplitude constant, find the decibels of improvement in signal-to-noise rati

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