Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

error in code please help

2 visualizaciones (últimos 30 días)
Rajeev Ray
Rajeev Ray el 7 de Dic. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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);

Respuestas (1)

Andrei Bobrov
Andrei Bobrov el 7 de Dic. de 2017
Please see here.

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by