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

Dc motors, i dont understand why equalizer connection is not used in wave w...

i dont understand why equalizer connection is not used in wave windings?

Binary coded decimal addition, Q. Binary Coded Decimal Addition Now as ...

Q. Binary Coded Decimal Addition Now as in conventional decimal addition, Binary Coded Decimal addition is performed one decimal digit at a time. What happens when the sum g

What do you mean by circuit analysis techniques, What do you mean by Circui...

What do you mean by Circuit Analysis Techniques?   One simplifying technique often used in complex circuit problems is that of breaking the circuit into pieces of manageable

power sector economics & planning, 1.  The rejection criteria of an invest...

1.  The rejection criteria of an investment project, as evaluated from the NPV method is that NPV should be equal to zero. 2.  Technical feasibility is the only criteria to dete

Components of plc - stepper motor , Components of PLC There are follow...

Components of PLC There are followings  three main  components of PLC : a.The power supply and rack. b.The central  processing  unit ( CPU) c.The input / output  (I/O

Design and build a circuit board, Devise a "green" design to improve the el...

Devise a "green" design to improve the electrical plan of a room in your home. How might you reduce electricity use in your home. Initiate and plan 1. Select two rooms in y

Define capacitor construction, Define Capacitor Construction In its mo...

Define Capacitor Construction In its most elementary state a capacitor having of two metal plates separated by a certain distance d, in among the plates lies a dielectric mate

Digital Signal Processing, Can you do a survey paper on Wavelet and Subband...

Can you do a survey paper on Wavelet and Subband Coding? I need 10 pages and I will provide the references.

Effect of feedback on sensitivity to parameter changes, Q. Effect of feedba...

Q. Effect of feedback on sensitivity to parameter changes? A good control system, in general, should be rather insensitive to parameter variations, while it is still able to fo

Determine the voltages, Question: a) For the circuit shown in figure ...

Question: a) For the circuit shown in figure (i) Determine the voltages across R1 and R2 and (ii) Determine the current which flows across R1 and R2. Both D1 and D2 a

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