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

Show that conservation of power is satisfied by the circuit, Given the netw...

Given the network in Figure, (a) Find the currents through resistors R 1 , R 2 , and R 3 . (b) Compute the voltage V 1 . (c) Show that the conservation of power is satisfi

ECE, a problem solving problem

a problem solving problem

Transistors, What is the difference between a hybrid pi and an re model?

What is the difference between a hybrid pi and an re model?

Salient features of nep, Salient Features of NEP: Access to electrici...

Salient Features of NEP: Access to electricity: The policy not only envisages access to electricity for all but it also emphasizes in which all consumers, particularly t

Determine the e.m.f., A 6-pole armature has 1000 conductors and a flux per ...

A 6-pole armature has 1000 conductors and a flux per pole of 40mWb. Determine the e.m.f. generated when running at 600 rev/min when (a) lap wound (b) wave wound.

Development of PLC- controlled crystallization model, 1.Describe the techno...

1.Describe the technological process of crystallization. 2. Compose the requirements to developed crystallization model.stion..

What is cascade, An arrangement of Windows so every window is neatly stacke...

An arrangement of Windows so every window is neatly stacked with only the title bar of every window is showing.

Find the expression for the no-load speeds, Q For a three-phase, fully cont...

Q For a three-phase, fully controlled, recti?er-fed, separately excited dc motor, corresponding to ideal no-load operation, find the expression for the no-load speeds. Comment on w

Obtain the value of rs, Consider and obtain the values for R S , R 2 , R 1 ...

Consider and obtain the values for R S , R 2 , R 1 , and R D . Apply the rule-of-thumb dc design procedure outlined in this section for a JFET with V P = 3V, I DSS = 20 mA, and a

Floor number display, It is required that the current floor position be dis...

It is required that the current floor position be displayed as a number 1, 2, or 3 on a seven segment LED display on floor 1, which is quite close to the LCU. Data Storage It

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