Sampling, Electrical Engineering

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?

Posted Date: 2/26/2013 12:04:03 AM | Location : United States







Related Discussions:- Sampling, Assignment Help, Ask Question on Sampling, Get Answer, Expert's Help, Sampling Discussions

Write discussion on Sampling
Your posts are moderated
Related Questions
Explain Intrinsic Semiconductor. Intrinsic Semiconductor: An extremely pure semiconductor is termed as intrinsic semiconductor. But at absolute zero temperature its valence b

Can someone please guide me on how to compute a nash equilibrium in matlab

Q. For the mechanical spring-mass-friction system shown in Figure, the differential equation relating the force F(t) and the velocity u(t) is given by  where M is themass,D

Explain the term- Electronic Mail (email) Another form of communication is through email. This has the below advantages over video conferencing: -  There are no language pro

Draw a diagram of ultrasonic Machine and illustrate its important parts? Discuss the following important element of ultrasonic process. (i) Abrasive slurry. (ii) Work Mate

short note on armature reaction

Do you provide me matlab code for comparison the performance of decision feedback equalizer over MLSE

Register Addressing In this  mode the operand are microprocessors  registers only i, e  the operations is performed  within  various  registers of the  microprocessors  only.

For a discrete time unit step input x(kT), the output  y(kT) of a system is shown below,   Part (a)  Obtain the Z-transform of the output signal y(kT).   Part (b)   F

All semiconductors in their last orbit have (A)  8 electrons.  (B) 2 electrons. (C)  4 electrons. (D)  6 electrons. Ans:     All semiconductors in their