Info
此问题已关闭。 请重新打开它进行编辑或回答。
Finding difference of two components and averaged over time
2 次查看(过去 30 天)
显示 更早的评论
I have three systems, see below. I need to compute the silmulations for different values of g which is the coupling strength. Then for every value of g, i need to have a value of the difference. Then taking this difference and average over time. Can someone assist in this problem please
For intsance, I should be able to compare two components from either the first and second equation or the second and third equation and average over time
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);
sigma * (x (8) - x (7)) - g * (x (7) -x (1));
x (7) * (rho-x (9)) - x (8);
x (7) * x (8) -beta * x (9);
];
end
a = 0.2; b = 0.2; c = 5.7; sigma = 16; beta = 4; rho = 45.92
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!