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

Types of power diode , Types of Power Diode According  to their  rever...

Types of Power Diode According  to their  reverse recovery characteristics of power diodes it can be  classified as follows: a.       General purpose  diodes b.      Fas

Piezo crystal osillator, whether piezo crystal and quazt crystal oscillator...

whether piezo crystal and quazt crystal oscillator are same?

Interfaced 2k x 8 eprom with multiple input nand gate, Interfaced 2k X 8 (i...

Interfaced 2k X 8 (i.e 2716) EPROM using multiple input NAND gate decoder for memory locations FF800H-FFFFFH. Simple NAND gate Decoder:  While the 2k x 8 EPROM is used so addre

Sommerfield’s free electron theory, Write down basic postulates of sommerfi...

Write down basic postulates of sommerfield’s free electron gas model. Show that the number of energy states per unit energy is given by g(E) = 4Rv/h 3 (2m) 3/2 E 1/2 .  What is

Explain the modes of connection for polyphase transformers, Discuss the mod...

Discuss the modes of connection for polyphase transformers Discuss with aid of electrical grouping and wiring connection diagrams the different types of connections for polypha

Fault analysis, The one line diagram of a simple three phase power system i...

The one line diagram of a simple three phase power system is shown in figure below. Each generator is represented by an emf behind the transient reactance. All impedances are expre

Analyse the characteristics of a dc machine, Theoretical calculations T...

Theoretical calculations The characteristics of the d.c. machine you will be investigating are given on the last page of this part. Use 200V DC supply for both armature and fie

Basic working principle of laser beam machining process, Define the basic w...

Define the basic working principle , process characteristics,advantages, disadvantages and application of Laser Beam Machining Process.

Digital control system, Please suggest recent application of DCS WHICH I CA...

Please suggest recent application of DCS WHICH I CAN USE AS A TOPIC OF MY Ph.D.

Pre-processing requirements - cpld design project , The pre-processing unit...

The pre-processing unit is responsible for taking the conditioned output from the heart sensor and generating a binary count during time T1 of this waveform (datain). It will compr

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