## plotting a periodic signal.

### Student (view profile)

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??

Walter Roberson

on 28 Aug 2013

## Products

No products are associated with this question.

### Shashank Prasanna (view profile)

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

### Walter Roberson (view profile)

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

#### Join the 15-year community celebration.

Play games and win prizes!

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