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 low-frequency response of rc coupled amplifier, Q. Explain low-freq...

Q. Explain low-frequency response of RC coupled amplifier. What are the reasons for reduction in gain at low frequencies? The RC coupled amplifier circuit contains capacit

Evaluate the voltage gain, Q. On a CD amplifier R s = 4k?, µ =50 and r =35...

Q. On a CD amplifier R s = 4k?, µ =50 and r =35k?. Evaluate the voltage gain A v . A v = V o /V i = µRs / (µ+1)Rs + r

Rlc - rotate accumulator left instruction , RLC  Rotate Accumulator Left I...

RLC  Rotate Accumulator Left Instruction This  instruction also rotates the contents of the accumulator towards  left by one bit. The  D 0 bit  moves  to D 1  bit moves to D

Wiring a plug , Wiring a Plug : Let us consider the problem of connect...

Wiring a Plug : Let us consider the problem of connecting a 16 A plug, commonly known as 15 A or power plug to an electrical appliance. Do you use any old bit of wire, or any

Motor: power production, The mechanical power produced at the armature of a...

The mechanical power produced at the armature of a motor is: P = T a . (power is in watts if torque is N.m and    in rad/sec). Some of this will be lost due to friction and

Input output, Input output The parallelogram symbol  is used to repres...

Input output The parallelogram symbol  is used to represent the input output  process as shown  below.                 IN01H

Determine the parameters of the equivalent circuit, The no-load and blocked...

The no-load and blocked-rotor tests on a three phase, wye-connected induction motor yield the following results: • No-load test: line-to-line voltage 400 V, input power 1770 W,

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