Euclidean distance/time between differential equations
2 次查看(过去 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) ;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156780/image.jpeg)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Function Creation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!