Sawtooth signal generation in matlab

3 views (last 30 days)
Rica
Rica on 3 Dec 2012
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)

Rica
Rica on 3 Dec 2012
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

Tags

Community Treasure Hunt

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

Start Hunting!