Hello all, I'm having some trouble doing a homework question using MATLAB. I have created a vector that models the unit step function with the built-in heaviside function and need to create two new vectors that are shifted by 1 and 2 seconds. I'm confused on how to do this.
So, what I have right now is u1(t). I need to create u2(t-1) and u3(t-2). I've defined my time interval for t =[-5,5,10] and vector u1 as syms u1.

댓글 수: 1

Roger Stafford
Roger Stafford 2015년 2월 27일
Look up circshift and see if that will do what you want.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2015년 2월 27일

댓글:

2015년 2월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by