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

Comparison between motorola processors and intel processors, Differentiate ...

Differentiate between Motorola processors and INTEL processors. Comparison between Motorola processors and INTEL processors: AMD/Intel processors are actually about similar t

500Mhz Collpitts Oscillator, How to design an Oscillator Circuit (500 MHz r...

How to design an Oscillator Circuit (500 MHz range) with no Op amps?

Dsp, A pure sine wave with a frequency of 100Hz is sampled at 150Hz. At whi...

A pure sine wave with a frequency of 100Hz is sampled at 150Hz. At which one of the following frequencies would you expect an alias?

Operation of mosfet, Operation of MOSFET The operation of a metal-oxi...

Operation of MOSFET The operation of a metal-oxide-semiconductor field-effect transistor which is abbreviated as MOSFET can be separated into three modes, depending upon the

Cro, explain the operation of a detector probe

explain the operation of a detector probe

Evaluate hysteresis loss, Q. A magnetic circuit is found to have an ac hyst...

Q. A magnetic circuit is found to have an ac hysteresis loss of 10 W when the peak current is Im = 2 A. Assuming the exponent of Bm to be 1.5, estimate Ph for Im = 0.5A and 8A.

Digital system, 1- Use 4-to-16 decoder and some residue gates to recognize ...

1- Use 4-to-16 decoder and some residue gates to recognize the following functions F1(A,B,C)= S(1,2,4,5,7) F2(A,B,C,D)= S(1,2,4,5,7,10,12,14,15) F3(A,B,C,D,E)= S(1,2,4,5,7,10,12,1

Explain the different coupling schemes used in amplifiers, Q. Explain the d...

Q. Explain the different coupling schemes used in amplifiers? When amplifiers are cascaded, it is necessary to use a coupling network between the output of one amplifier and th

Control signals - pins and signals , Control Signals There are two  con...

Control Signals There are two  control  signals and one  special  (ALE) in this  category. All these  signals  are output  signals. RD  (Read  signal ) it is  an active low

Use of n-channel jfet, Q. Use of N-channel JFET? Generally, N-channel J...

Q. Use of N-channel JFET? Generally, N-channel JFETs are more commonly used than P-channel. With no voltage applied between gate and source, the channel is a wide-open path for

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