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 phase - voltage and power, Determine phase - voltage and power: ...

Determine phase - voltage and power: A balanced star connected load is supplied from a symmetrical 3-phase 440 Volt system. The current in each of the phase is 40 Amp and lags

Draw the differentiator circuit, Q. Draw the differentiator circuit. Explai...

Q. Draw the differentiator circuit. Explain its principle of operation with necessary waveforms ? A circuit in which the output voltage is directly proportional to the derivati

Spectrum analyzer, Problem statement: A specialized piece of laboratory te...

Problem statement: A specialized piece of laboratory test equipment, called a spectrum analyzer,will be placed on a mobile push cart. The spectrum analyzer measures the amplitude

Explain the meaning of duality in boolean algebra?, Explain the Meaning of ...

Explain the Meaning of Duality in Boolean Algebra? Any algebraic equality that derived from the axioms of the Boolean algebra remains true when the operators OR and AND are in

Build an intersection traffic light using the led, Build an intersection tr...

Build an intersection traffic light using the LED's as in the diagram below Day Use the LED's on the trainer (port 11) Main Street and Side Street alternate. Mai

Image retreval and face recognization technique, block diagram of eigen fac...

block diagram of eigen face,Viola & Jones Method,Bio-ID,RWTH-i6 Groups of People Database

Determine the cpi load latency, Question: (a) Describe the following te...

Question: (a) Describe the following terminologies: i. Branch ii. Branch Prediction iii. Branch Predictor iv. Branch Misprediction (b) Consider that 15% of instructi

Simulate the circuit using digital simulation techniques, You are the new c...

You are the new chief PCB designer for a small company who are about to become heavily involved in the design and realisation of digital timing products. Your management wants to p

Find the phasor values with peak magnitude, Q. For the circuit shown in Fig...

Q. For the circuit shown in Figure, find the phasor values (with peak magnitudes) of ¯I, ¯V R , ¯V L , and ¯V C by using PSpice.

What is thermal runaway, Q. What is thermal runaway? State one method to pr...

Q. What is thermal runaway? State one method to prevent the same? The effect of changes in leakage current (ICO)  and current gain(b) on the dc bias point is given by the equat

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