Time in seconds ode45
6 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Star Strider
2020-5-26
Create the ‘tspan’ argument as a vector of more than two elements:
tspan = 0 : 0.1 : 10;
.
6 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!