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

Armature winding, what is use of dummy coil in DC m/c????

what is use of dummy coil in DC m/c????

Fourier transform for the function, The far-field pattern of an antenna can...

The far-field pattern of an antenna can be modeled as the two dimensional Fourier Transform of the aperture. 1. Determine the 2D Fourier Transform for the function

Explain phase-shift keying, Q. Explain phase-shift keying? In PSK, the ...

Q. Explain phase-shift keying? In PSK, the phase angle of a carrier is keyed between two values. When the values are separated by π radians, it is known as phase-reversal keyin

Preventive and regular maintenance, Preventive and Regular Maintenance ...

Preventive and Regular Maintenance Preventive and regular manages of components of the distributions system is necessary to reduce/eliminate breakdowns. Care should be taken t

Vlsi, what is the difference between latch and flipflop

what is the difference between latch and flipflop

Find an expression for the instantaneous force, Q. Let the solenoid carry a...

Q. Let the solenoid carry an alternating current of 10 A (rms) at 60 Hz instead of the direct current. Find an expression for the instantaneous force.

The fundamental frequency , The frequency domain representation of a signal...

The frequency domain representation of a signal is shown  below: i. What are the fundamental frequency and the corresponding period of this signal (shown in Figure )? ii.  Pl

What do you mean by resistance, Q. What do you mean by Resistance? An i...

Q. What do you mean by Resistance? An ideal resistor is a circuit element with the property that the current through it is linearly proportional to the potential difference acr

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