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

Microprocessor, Memory map of tpa in a personal computer and explain such o...

Memory map of tpa in a personal computer and explain such of the areas in brief

Fsk scheme, Question: (a) An FSK Scheme is used in a wireless transmi...

Question: (a) An FSK Scheme is used in a wireless transmission with the data bits 1011010. With the help of a labeled diagram, describe in detail the final output of the MSK

D flip flop - introduction to microprocessors, D Flip Flop As we have ...

D Flip Flop As we have seen  in the SR flip flop  when the inputs  S= R  are applied the forbidden or indeterminate state occurs.  This state can destabilize the SR file flop.

What is thermal runaway, Q. What is thermal runaway? State one method to pr...

Q. What is thermal runaway? State one method to prevent the same? The effect of changes in leakage current (ICO)  and current gain(b) on the dc bias point is given by the equat

Dynamics of electrical machines, 1. Modeling of Armature and Field Controll...

1. Modeling of Armature and Field Controlled DC motors: Steady state and dynamic models; development of block diagrams;  assumptions used; complexity involved in realistic models;

8 bit data to register - move immediate instruction , 8 bit  data to Regi...

8 bit  data to Register   This form  of the  instruction is used to copy 8 bit  data directly  to the register  location specified in  the instruction. The  instruction format i

Inductive logic programming, Inductive Logic Programming : Now here ha...

Inductive Logic Programming : Now here having studied a non-symbolic approach to machine learning on Artificial Neural Networks then we return to a logical approach, namely In

Tardy billing and poor revenue collection, Tardy Billing and Poor Revenue C...

Tardy Billing and Poor Revenue Collection Prolonged disputes, connivance, lack of consumer friendly policies, incorrect identification of category, fictitious billing (of non-

Microprocessor, Write a program to count how many from your data set called...

Write a program to count how many from your data set called MYDATA, which is a set of signed single-byte numbers, has positive value and are odd numbers. Save the result in POSOD

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