Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

error in code please help

조회 수: 2 (최근 30일)
Rajeev Ray
Rajeev Ray 2017년 12월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
function dy = vdp1000(t,y) dy = zeros(2,1); % a column vector dy(1) = y(2); dy(2) = 1000*(1 - y(1)^2)*y(2) - y(1); [T,Y] = ode15s(@vdp1000,[0 3000],[2 0]); plot(T,Y(:,1),'-o')
this code is showing error Error in vdp1000 (line 3) dy(1) = y(2);

답변 (1개)

Andrei Bobrov
Andrei Bobrov 2017년 12월 7일
Please see here.

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by