Finding equilibrium in matlab
Afficher commentaires plus anciens
I am trying to find the equilibrium fo three different equtions.
clear all;
syms V(t) a b v1 v2 v3
time = [3.46
4.58
5.67
6.64
7.63
8.41
9.32
10.27
11.19
12.39
13.42
15.19
16.24
17.23
18.18
19.29
21.23
21.99
24.33
25.58
26.43
27.44
28.43
30.49
31.34
32.34
33
35.2
36.34
37.29
38.5
39.67
41.37
42.58
45.39
46.38
48.29
49.24
50.19
51.14
52.1
54
56.33
57.33
59.38];
Volume = [0.0158
0.0264
0.0326
0.0445
0.0646
0.0933
0.1454
0.2183
0.2842
0.4977
0.6033
0.8441
1.2163
1.447
2.3298
2.5342
3.0064
3.4044
3.2046
4.5241
4.3459
5.1374
5.5376
4.8946
5.066
6.1494
6.8548
5.9668
6.6945
6.6395
6.8971
7.2966
7.2268
6.8815
8.0993
7.2112
7.0694
7.4971
6.9974
6.7219
7.0523
7.1095
7.0694
8.0562
7.2268];
a1 = 0.4340;
b1 = 0.2158;
a2 = 0.3389;
b2 = 0.0489;
a3 = 0.2375;
b3 = 0.1179;
solB = solve ( a1*V(t)^(2/3) - b1*V(t) ==0, v1)
solL = solve (a2*V(t) - b2*V(t)^(2)==0, v2)
solG = solve(a3*V(t) - b3*V(t)*log(V(t)) ==0 , v3)
This what gives me:

5 commentaires
Stephan
le 10 Nov 2020
How are v1...v3 related to the equations? Since they do not occur in the equations, how do you want to solve for them? Is there any relation like V=v1*v2*v3 or something like that?
Aseel Alamri
le 10 Nov 2020
Stephan
le 10 Nov 2020
You need to clarify first. You can not solve an equation for a variable which is not occuring in the equation. So tell us how are v1...v3 are related to the equations or to parts of them
Aseel Alamri
le 10 Nov 2020
Stephan
le 10 Nov 2020
Sorry, i can not follow. Please clarify what you want to do. What is the expected result? For what are the vectors for time and Volume? Your question is unclear to me.
Réponses (1)
Pranav Verma
le 8 Déc 2020
0 votes
Hi Aseel,
Please refer to the below discussions on the similar lines of finding equilibrium points for a system of equations:
Thanks
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!