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

Compute the effective armature, For a 45-kVA, three-phase, wye-connected, 2...

For a 45-kVA, three-phase, wye-connected, 220- V synchronous machine at rated armature current, the short-circuit load loss (total for three phases) is 1.80 kWat a temperature of 2

Define voltage divider rule, Define voltage divider rule Voltage drop a...

Define voltage divider rule Voltage drop at every resistor that connected by serial can be search by using voltage divider rules (VDR).

Electrical machine, what happens when we apply DC supply to transformer pri...

what happens when we apply DC supply to transformer primary

Field effect transistor, Field effect transistor: Primarily difference...

Field effect transistor: Primarily difference between bit and jet is that bit transistor is a current controlled device while jet is a voltage controlled device.  Is a direct

Explain the purpose of the global descriptor table register, Explain the pu...

Explain the purpose of the global descriptor table register. The GDTR stand for global descriptor table register and IDTR stand for interrupt descriptor table register conta

Governer, governer characteristics

governer characteristics

Transfer characteristics of p-channel enhancement mosfet, Q. Explain the dr...

Q. Explain the drain and transfer characteristics of P-channel enhancement MOSFET. In p-channel enhancement MOSFET here is a n-type substrate and p doped regions under drain an

What do you mean by conductors and insulators, Q. What do you mean by Condu...

Q. What do you mean by Conductors and Insulators? In order to put charge in motion so that it becomes an electric current, one must provide a path through which it can flow eas

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