フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

code to find difference between dynamical systems

1 回表示 (過去 30 日間)
Samson
Samson 2019 年 7 月 25 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
how do i write the code to find the difference of two dynamical equation please. For instance i need to find the change or delta between x (1) and x (4) see my equation below
function dx = attractor (x, a, b, c, sigma, beta, rho, g)
dx = [
- (x (2) + x (3));
x (1) + a * x (2);
b + x (3) * (x (1) -c);
sigma * (x (5) - x (4)) - g * (x (4) -x (1));
x (4) * (rho-x (6)) - x (5);
x (4) * x (5) -beta * x (6);
end
  2 件のコメント
Shashwat Bajpai
Shashwat Bajpai 2019 年 8 月 7 日
Do you wanto find the difference between x(1) and x(4) or dx(1) and dx(4) in either of the cases a simple:
del_x=abs(dx(1)-dx(4));
should do the trick.
Please elaborate on your problem.
Samson
Samson 2019 年 8 月 7 日
hello, thank you for this answer. I needed to take the difference over time and space. I have gotten it

回答 (0 件)

この質問は閉じられています。

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by