Time in seconds ode45

6 ビュー (過去 30 日間)
Shahad Alomani
Shahad Alomani 2020 年 5 月 26 日
コメント済み: Star Strider 2020 年 5 月 26 日
Hi,
How can I create an array of 10 seconds start from 0 second increment by 0.1 seconds to 10 seconds?
Thank you
I tried to use seconds function but it didn't work I need this time for ode45 tspan

採用された回答

Star Strider
Star Strider 2020 年 5 月 26 日
Create the ‘tspan’ argument as a vector of more than two elements:
tspan = 0 : 0.1 : 10;
.
  6 件のコメント
Shahad Alomani
Shahad Alomani 2020 年 5 月 26 日
Thank you
Star Strider
Star Strider 2020 年 5 月 26 日
Shahad Alomani — As always, my pleasure!
Steven — Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by