MATLAB Answers

Student
0

plotting a periodic signal.

Asked by Student
on 28 Aug 2013

How to plot a given signal e.g.

   x(n)=cos(pie*n/2)-sin(pie*n/8)+3cos(n*pie/4+pie/3) 

in such a way that plotting proves its periodicity??

Tags

Products

No products are associated with this question.

2 Answers

Answer by Shashank Prasanna
on 28 Aug 2013

Student, this is simple plotting in MATLAB. Take a look at the documentation:

http://www.mathworks.com/help/matlab/ref/plot.html

If this is an assignment problem and you have more of these to solve, it would help to invest some time on the getting started section of MATLAB:

http://www.mathworks.com/help/matlab/getting-started-with-matlab.html

  0 Comments


Answer by Walter Roberson
on 28 Aug 2013

No, you cannot prove something has infinitely extending properties just by examining any finite subset of it. Try, for example, plotting in the area of n = 10^100

  0 Comments


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!