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!