how to introduce delay in matlab code
조회 수: 1 (최근 30일)
이전 댓글 표시
I need to add two variables x and y. I will be getting the value of y after 4 seconds. how to mention it in matlab code? Is there any option to mention it in code or i should use simulink only. If we use simulink, whats the procedure for it, because initially i am getting the error as use discrete states alone.
댓글 수: 1
Azzi Abdelmalek
2012년 10월 20일
It's not clear, what are you using (Matlab or Simulink), which delay are you talking about? if you have tryed to make a code post it.
답변 (1개)
Azzi Abdelmalek
2012년 10월 20일
편집: Azzi Abdelmalek
2012년 10월 20일
If you are using Simulink, you can use a Unit Delay block from Simulink/Discret
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!