matlab code for generating triangular wave
12 views (last 30 days)
Show older comments
divijesh puninchathaya
on 24 Dec 2013
Commented: Image Analyst
on 24 Dec 2013
I have to generate a matlab code for generating triangular wave with monotonically increasing and monotonically decreasing amplitude. That means the triangle should go on reduce its size with increasing time. plz can any one help me in this regard
Thanking you
0 Comments
Accepted Answer
Image Analyst
on 24 Dec 2013
Edited: Image Analyst
on 24 Dec 2013
See attached demo, below in blue. Feel free to adapt as needed. The Signal Processing Toolbox has a built in triangle wave function called sawtooth() if you'd rather use that. Search the tags for triangle if you want more info.
3 Comments
Image Analyst
on 24 Dec 2013
You didn't attach anything. If you need to pull the text out of Microsoft Word, you're going to have to use ActiveX programming. Search this forum for examples.
More Answers (0)
See Also
Categories
Find more on ActiveX in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!