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

2 Ansichten (letzte 30 Tage)
Lal
Lal am 8 Feb. 2018
Kommentiert: Lal am 8 Feb. 2018
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

Akzeptierte Antwort

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

Weitere Antworten (1)

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

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by