Geometric Numerical Integration implicit method and explicit method?
조회 수: 24 (최근 30일)
이전 댓글 표시
dt = 0.02; t = 0.0:dt:4000.0; p = zeros(size(t)); q = zeros(size(t)); p(1)= 0; q(1)= 1; for ii = 1:(length(t)-1) p(ii+1)= p(ii) - dt*(-sin(q(ii))); q(ii+1)= q(ii) + dt*(p(ii)); end quiver(t,p,t,q)
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!