Generating Step Function In MATLAB.
조회 수: 6 (최근 30일)
이전 댓글 표시
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
채택된 답변
추가 답변 (1개)
Titus Edelhofer
2012년 1월 5일
Hi Pranjal,
take a look at the function stairs that makes this task rather simple ...
Titus
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!