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?

 Réponse acceptée

Walter Roberson
Walter Roberson le 1 Oct 2013

1 vote

repmat() the output vector.

2 commentaires

Luis Arteaga
Luis Arteaga le 2 Oct 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 le 2 Oct 2013
Sorry, I do not understand the word "bucle" ?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by