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

Define series var compensation, Define Series VAr Compensation? For ver...

Define Series VAr Compensation? For very long transmission lines, the inductive reactance of the line becomes so high that not much power can be transmitted through the line, s

Determine the maximum value of the average torque, Q. A two-pole rotating m...

Q. A two-pole rotating machine with a singly excited magnetic field system as its stator and a rotor (that carries no coil) has a stator-coil inductance that can be approximated by

Limitations, Limitations: 1. Silicon transistors do not function at vo...

Limitations: 1. Silicon transistors do not function at voltages much higher than about 1,000 volts (SiC devices can be worked as high as 3,000 volts). In difference, electron

Transistors, what is transistor how it works?

what is transistor how it works?

Obtain expressions for the in-phase and quadrature component, Q. For DSB an...

Q. For DSB and conventional AM, obtain expressions for the in-phase and quadrature components x d (t) and x q (t), and envelope and phase v(t) and φ(t).

Strategic perspective of an organization, Strategic Perspective of An organ...

Strategic Perspective of An organization Strategic perspectives cover functions such as revenue, customer satisfaction, people, procedure and technology. Every organization re

Transfer characteristics of p-channel enhancement mosfet, Q. Explain the dr...

Q. Explain the drain and transfer characteristics of P-channel enhancement MOSFET. In p-channel enhancement MOSFET here is a n-type substrate and p doped regions under drain an

Monostable delay in matlab, how to implement monostable delay in matlab sim...

how to implement monostable delay in matlab simulink environment? [email protected]

Find the minimum practical value frequency, A radar systemuses pulses of du...

A radar systemuses pulses of duration D tomodulate the amplitude of a radio carrierwave. The system can distinguish between targets spaced apart by a distance of d ≥ cD, where c is

Mathematics, The two sides of a triangle are 17 cm and 28 cm long, and the ...

The two sides of a triangle are 17 cm and 28 cm long, and the length of the median drawn to the third side is equal to 19.5 cm. Find the distance from an endpoint of this median to

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