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

Phasor relation between different voltages and currents, Phasor relation be...

Phasor relation between different voltages and currents: In the capacitive circuit of Figure, find 1.      Impedance, 2.      Resultant current, 3.      Power factor,

Dc motor, You have been given a DC motor to characterize. What three measu...

You have been given a DC motor to characterize. What three measurements are required in order to develop the torque-speed curve and the acceleration curve for the unloaded motor?

Explain p - n junction, Explain P - N junction. P - N junction: If a ...

Explain P - N junction. P - N junction: If a p- type semiconductor is properly joined to an n-type semiconductor the contact surface that formed is termed as p-n junction. Th

Explain register direct and indirect data addressing mode, Explain Register...

Explain Register Direct and Indirect data addressing mode (with examples) available in microprocessors. Register Direct Modes and Register Indirect Modes: Does not giv

P type material - semiconductor material, p type material: p type ma...

p type material: p type material is formed by doping aerial  crystal with impurity atoms having three valance electrons. The diffused impurities with three valence electrons

Find the meter reading for a sine wave, Q. ADMM (digital multimeter) reads ...

Q. ADMM (digital multimeter) reads true rms values of current. If the peak value of each of the following periodic current waves is 5 A, find the meter reading for: (a) a sine wave

Methods of testing, Methods of Testing Irrespective of reasons, testin...

Methods of Testing Irrespective of reasons, testing is commonly carried out 1. On site, or 2. In a Meter Testing Station (MTS) accredited as per IS/ISO/IEC 17025.

Find the inductor current and voltage, Q. The energy stored in a 2-µH induc...

Q. The energy stored in a 2-µH inductor is given by w L (t) = 9e -2t µJ for t ≥ 0. Find the inductor current and voltage at t = 1 s.

Linear and digital ics, write down the application of shift register and ex...

write down the application of shift register and explain it.

Centrifugal compressor, hi I need information of Compressor Shaft Impelle...

hi I need information of Compressor Shaft Impellers Coupling Hub Thrust Collars Balance Drum for centrifugal compressor with pecture

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