Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Finding difference of two components and averaged over time

1 Ansicht (letzte 30 Tage)
Samson
Samson am 25 Jul. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (0)

Diese Frage ist geschlossen.

Tags

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by