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

Evaluate gm and pm for the asymptotic bode plot, Q. The loop gain of an ele...

Q. The loop gain of an elementary feedback control system(see Figure) is given by G(s)·H(s), which is 10/(1+s/2)(1+s/6)(1+s/50). Sketch the asymptotic Bode plot of the loop-gain fu

Enhancement operation of p-channel enhancement mosfet, Q. Show the Enhancem...

Q. Show the Enhancement operation of p-channel enhancement mosfet? As the gate terminal is insulated from the channel by the silicon dioxide layer, we can also apply a negative

Aims of the tariff policy - electricity policies, Aims of the Tariff Policy...

Aims of the Tariff Policy - electricity policies: The aims of the National Tariff Policy are to: 1. Ensure availability of electricity to consumers at reasonable and compet

Ic packaging, which type of ic package is more advantageous,suitable and ve...

which type of ic package is more advantageous,suitable and versatile

What do you mean by star topology, Q. What do you mean by Star Topology? ...

Q. What do you mean by Star Topology? Star Topology: In Star topology, all user nodes are connected to central node point that interconnects all individual users' links and nod

Explain current divider rule, Explain current divider rule Current flow...

Explain current divider rule Current flow through at every resistor that connected by parallel can be find by using current divider rules (CDR).

PLC Programming, FIG. 2 Car Park Simulation Consider the above diagram, FI...

FIG. 2 Car Park Simulation Consider the above diagram, FIGURE 2, of the car park. The object of this assignment is to write a program to operate the barriers to allow the cars in

Check Sheets - Quality Tools for Improvement, Check Sheets - Quality Tools ...

Check Sheets - Quality Tools for Improvement This might be an easy listing of items that could represent information in an efficient, graphical format. If the system under ana

Working of a linear variable differential transformer, Illustrate the const...

Illustrate the construction and principle of working of a linear variable differential transformer. Describe how the magnitude and direction of displacement of core of LVDT is dete

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