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

2 views (last 30 days)
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

Accepted Answer

Pawel Jastrzebski
Pawel Jastrzebski on 8 Feb 2018
Flip sign as in changing from positive to negative?
x(t>0) = -x(t>0)

More Answers (1)

Birdman
Birdman on 8 Feb 2018
Edited: Birdman on 8 Feb 2018
If you want to plot from t=0, then
plot(t(t>=0),X(t>=0))

Tags

Community Treasure Hunt

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

Start Hunting!