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

1 visualización (últimos 30 días)
Lal
Lal el 8 de Feb. de 2018
Comentada: Lal el 8 de Feb. de 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

Respuesta aceptada

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

Más respuestas (1)

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

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by