Generating Step Function In MATLAB.
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi, Can anyone help me in generating a step function which increases by an increment of 1 unit and then remain constant for 1 unit and then again increases by 1 unit,remain constant for 1 unit and so on (upto a certain height,say 5 unit) and then again decreasing by the same amount, remaining constant for the same amount as while increasing, in MATLAB? Thanking You!
0 Commenti
Risposta accettata
Più risposte (1)
Titus Edelhofer
il 5 Gen 2012
Hi Pranjal,
take a look at the function stairs that makes this task rather simple ...
Titus
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!