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 Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by