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

Help, How do you be in Harward

How do you be in Harward

Determine the overall power factor, A three-phase, wye-connected, cylindric...

A three-phase, wye-connected, cylindrical-rotor, synchronous motor, with negligible armature resistance and a synchronous reactance of 1.27 per phase, is connected in parallel wit

Compute the full-load speed, A 10 - hp, 250-V shunt motor has an armature c...

A 10 - hp, 250-V shunt motor has an armature circuit resistance of 0.5  and a ?eld resistance of 200 . At no load, rated voltage, and 1200 r/min, the armature current is 3 A. At

Pinch off voltage, Pinch off Voltage: The current in N-JFET because of...

Pinch off Voltage: The current in N-JFET because of a small voltage V DS  is described by: I DSS = (2a) W/L (qN d μ n V DS ) In which 2a  = channel thickness

Mode 1 - buck converter , Mode 1 ( 0 By  applying a positive  output ...

Mode 1 ( 0 By  applying a positive  output  pulse  of the pulse  width modulator to  the  transistor Q 1 it gets turned on.  An input  current  in flows  through V in   Q 1

Sonic harassment, Sir I would like to find a sensor that can detect beams ...

Sir I would like to find a sensor that can detect beams from the phasor painfield generator and the sonic devasator (devices of this nature). These sonic devices emit a high pres

Dual trace and dual beam cro, what is difference between dual trace and dua...

what is difference between dual trace and dual beam cro?

Selection of proper fuse in electricity and gas hazards, Selection of Prope...

Selection of Proper Fuse : Fuse is a safety device or a wire of metal in a cut-out which may be fused by an excessive current. The current drawn by an appliance is restricted by t

Requirement specification for the monitor and alarm system, Prepare a User ...

Prepare a User Requirement Specification for the monitor and alarm system. User Requirements Specification should be written in a clear and unambiguous manner to state: • The

Process of spark erosion machining, Describe the basic process of Spark Ero...

Describe the basic process of Spark Erosion (Electric Discharge) machining? Discuss the advantages of EDM as compared to other nontraditional procedures with regard to : (i)

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