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?

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 1 Okt. 2013

1 Stimme

repmat() the output vector.

2 Kommentare

Luis Arteaga
Luis Arteaga am 2 Okt. 2013
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
Walter Roberson
Walter Roberson am 2 Okt. 2013
Sorry, I do not understand the word "bucle" ?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by