Feeds
提问
Error "Function definitions are not permitted in this context" in matlab R2014a
I've tried to solve this system of equations: y_1 '=y_2 and y_2 '=-y_1 as follows: clear all; clc; function dy = rigid(t,y) ...
6 years 前 | 2 个回答 | 0
2
个回答提问
Error "Attempt to execute SCRIPT ode113 as a function" in MTLAB R2014a
Hello everyone, I've tried to solve an ode problem with ode113 in MATLAB R2014a as follows: clear all; tspan = [0 5]; y0 = 0...
6 years 前 | 1 个回答 | 0

