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

Find the voltage, Q. The current sources in Figure are given to be I A = 3...

Q. The current sources in Figure are given to be I A = 30 A and I B = 50 A. For the values of R 1 = 20 ,R2 = 40 , and R3 = 80 , find: (a) The voltage V. (b) The current

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

The potential difference at the battery terminals, Ten 1.5V cells in series...

Ten 1.5V cells in series, each cells having an internal resistance of 0.3Ω, are connected series to a load of 25Ω. Determine : i.The current flowing the circuit

Marginal tax rate, Stratos Corporation is a privately held tablet semicondu...

Stratos Corporation is a privately held tablet semiconductor technology firm with bright growth prospects.The past 5 years have seen the firm evolve from a pure startup to a profit

Determine the modulation index, An angle-modulated signal has the form u(t)...

An angle-modulated signal has the form u(t) = 100 cos [2πf c t+4 sin 2πf m t ],where f c =10MHz and f m = 1 kHz. Determine the modulation index β f or β p and the transmitted s

Matlab, fast decoupled program

fast decoupled program

Digital electronic, What are the advantages of wired-AND connection of digi...

What are the advantages of wired-AND connection of digital IC

Find the efficiency of the transformer, Q. Athree-phase, 600-kVA, 2300:230-...

Q. Athree-phase, 600-kVA, 2300:230-V,Y-Ytrans- former bank has an iron loss of 4400 W and a full- load copper loss of 7600 W. Find the efficiency of the transformer for 70% full lo

Illustrate core losses in magnetic core material, Q. Illustrate Core Losses...

Q. Illustrate Core Losses in magnetic core material? Iron-core losses are usually divided into two components: hysteresis loss and eddy-current loss. The former is proportional

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