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 armature current and power factor of the motor, A three-phase...

A three-phase, wye-connected, 2300-V, 60-Hz, round-rotor synchronous motor has a syn- chronous reactance of 2 per phase and negligible armature resistance. (a) If the motor tak

What is the voltage gain of common gate amplifier, Q. What is the voltage g...

Q. What is the voltage gain of common gate amplifier? The controlled source gmVgs is connected from drain to source with rd in parallel.The resistor is connected Rs is connecte

What do you mean by insurance, Q. What do you mean by Insurance? This i...

Q. What do you mean by Insurance? This is done by creating a common fund out of the contribution (known as premium) from several persons who are equally exposed to the same los

ELECTRONICS, WHAT IS MIDPOINT BIASING OF A TRANSISTOR?

WHAT IS MIDPOINT BIASING OF A TRANSISTOR?

Transformers, determine the efficience of a 16 KVA transformer for the full...

determine the efficience of a 16 KVA transformer for the full-load,unit power factor

Determine the full load voltage regulation, A 3 phase 60 hertz induction m...

A 3 phase 60 hertz induction motor has 8 poles and operates with a slip of .05 for a certain load. Compute in r.p.m. the (a)speed of the rotor with respect to the stator, (b)spe

Feedback amplifier, explain working pricipal of nagative resistance oscilla...

explain working pricipal of nagative resistance oscillator

Histograms or bar chart - quality tools for improvement, Histograms or Bar ...

Histograms or Bar Chart - Quality Tools for Improvement Histograms give an easy, graphical view of accumulated data. It provides the simplest way to evaluate the distributio

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