Consider the discretetime sequence xn sinn pi 025 Write a MA

Consider the discrete-time sequence x[n] sin[(n pi 0.25)]. Write a MATLAB codc to plot the signal x[n] and from the plot estimate the fundamental period of the signal.

Solution

MATLAB CODE:

clear all

n=0:1:30;

x = sin(0.25*pi*n);

subplot(2,2,2),stem(n,x);

xlabel(\'n\'),ylabel(\'x(n)\');

axis([0 30 -1 1]);

titlt(\'Sinusaoidal Sequence\')

/////////////

Time period estimated from the plot T = 8.

 Consider the discrete-time sequence x[n] sin[(n pi 0.25)]. Write a MATLAB codc to plot the signal x[n] and from the plot estimate the fundamental period of the

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site