# Is there a way to plot discrete functions in mathematica? [closed]

Suppose you have a discrete function Triangle[n/5]. How would you plot it in mathetica?

-

## closed as off-topic by Sjoerd C. de Vries, RunnyKine, Artes, Yves Klett, István ZacharNov 6 '13 at 12:05

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Sjoerd C. de Vries, RunnyKine, Artes, Yves Klett, István Zachar
If this question can be reworded to fit the rules in the help center, please edit the question.

I don't think Triangle is a discrete function? It's a periodic piecewise linear waveform, however it can only be used in the context of the command Waveform if I understand it correctly. It belongs to the Audio package, which I have never used. –  Pickett Nov 6 '13 at 7:49
There's a DiscretePlot function in Mathematica –  RunnyKine Nov 6 '13 at 7:57

 DiscretePlot[UnitTriangle[n/5], {n, -5, 5}]