Time in seconds ode45
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Shahad Alomani
am 26 Mai 2020
Kommentiert: Star Strider
am 26 Mai 2020
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 Kommentare
Akzeptierte Antwort
Star Strider
am 26 Mai 2020
Create the ‘tspan’ argument as a vector of more than two elements:
tspan = 0 : 0.1 : 10;
.
6 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!