Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Finding difference of two components and averaged over time
조회 수: 1 (최근 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!