Sawtooth signal generation in matlab

Hi! how could i generate a sawtooth signal. the amplitude schould variates between -180 and +180 and with a combination of negative and positive slope? somethig like this:
%
+ + + +
+ + + +
+ + + + +
+ + + + +
Thhank you

Answers (1)

Thank you. But how could i get this saw tooth combined wit another sawtooth with negative slope?
I mean : from 0 to Tp ->positive slope. And from Tp to 2*Tp ->negative slope
+ + + +
+ + + + +
+ + + + +
+ + + +
-0-------Tp------------2Tp------->t
Thank you

Categories

Find more on Programming in Help Center and File Exchange

Tags

Asked:

on 3 Dec 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!