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

Explain extrinsic semiconductor, Explain Extrinsic Semiconductor. Extr...

Explain Extrinsic Semiconductor. Extrinsic Semiconductor: An intrinsic semiconductor is able to conduct some current even at room temperature but as this is not helpful for t

Determine the transfer function in notch network, Q. The twin-tee or notch ...

Q. The twin-tee or notch network shown in Figure is often used to obtain band-reject characteristics. (a) Determine the transfer function V 2 /I 1 . (b) Find the angular freq

Calculate the current flow using thevenin''s theorem, Calculate the curren...

Calculate the current flow in 30Ω resistor for the circuit in figure using Thevenin's Theorem.

Diode model , Find I and V in the figure using ideal diode model

Find I and V in the figure using ideal diode model

By which ferroelectric materials are characterised, Ferroelectric materials...

Ferroelectric materials are characterised by (A) Very high degree of polarisation. (B) A sharp dependence of polarisation on temperature. (C) Non-linear dependence o

Display the segment on the pic trainer, Aim: The aim of this practical ...

Aim: The aim of this practical is to work with multiplexed 7-segment displays and implement a counter and display the 7- segment on the PIC trainer. Equipment: PIC

Construct the corresponding transfer function, Consider the following IIR f...

Consider the following IIR filter. The initial input data sequence is given by x n = [10 15 20 15 8 6 9 0 0 0] Construct a table that shows the corresponding signal values at

Find load resistance and voltage, Q. Find load resistance and voltage? ...

Q. Find load resistance and voltage? Let the amplifier block be connected to a current source at the input terminals, as shown in Figure(a), and to a load resistance R L at it

Production of rotating fields from single-phase windings, Production of Rot...

Production of Rotating Fields from Single-Phase Windings In this subsection we show that a single-phase winding carrying alternating current produces a stationary pulsating flu

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