How to graph several cycles in matlab?

I need an example that shows how to graph a function for several cycles, ie I have a piecewise function but only in a cycle is defined how I can make this function display "n" cycles?

 Accepted Answer

repmat() the output vector.

2 Comments

thanks but I also would like to know... if I could use a bucle "for" to graph a periodic function with "n" periods; "n" is an input
Sorry, I do not understand the word "bucle" ?

Sign in to comment.

More Answers (0)

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!