フィルターのクリア

Error Message: Function definitions are not permitted in this context

1 回表示 (過去 30 日間)
M.Ubeydullah Doger
M.Ubeydullah Doger 2015 年 10 月 24 日
回答済み: Stalin Samuel 2015 年 10 月 24 日
function dx = rigid(t,x); dx = zeros(3,1); dx(1) = 3x(1)-5x(2)+7(3)-5; dx(2) = 2x(2)+3x(3)-3; dx(3) = -5x(1)+4x(3)+1;
% The solution on the interval [0,10] with a vector [0 1 1].
[t,x] = ode45(@rigid,[0 10],[0 1 1]);
end

採用された回答

Stalin Samuel
Stalin Samuel 2015 年 10 月 24 日
Run this file

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWhos についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by