Euclidean distance/time between differential equations

1 次查看(过去 30 天)
So I want to show sensitivity to initial conditions in differential equations. So I want to graph time/distance between similar equations but with different initial conditions.When initial conditions are same I don't get any errors, but whenever I try to change one of the initial conditions, it says: Error using - Matrix dimensions must agree.
Error in startrealchua2 (line 4) Z = sqrt((k(:,1)-y(:,1)).^2+(k(:,2)-y(:,2)).^2+(k(:,3)-y(:,3)).^2) ;

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Function Creation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by