How to flip sign in the X values, from time t=0 ?

조회 수: 1 (최근 30일)
Lal
Lal 2018년 2월 8일
댓글: Lal 2018년 2월 8일
t X
-10 17
-9 76
-8 76
-7 76
-6 76
-5 78
-4 76
-3 70
-2 76
-1 76
0 74
1 76
2 76
3 76
4 76
5 76
6 76
7 76
8 76
9 76
10 76

채택된 답변

Pawel Jastrzebski
Pawel Jastrzebski 2018년 2월 8일
Flip sign as in changing from positive to negative?
x(t>0) = -x(t>0)
  댓글 수: 1
Lal
Lal 2018년 2월 8일
Thank you for your quick response. It worked.

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

추가 답변 (1개)

Birdman
Birdman 2018년 2월 8일
편집: Birdman 2018년 2월 8일
If you want to plot from t=0, then
plot(t(t>=0),X(t>=0))

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by