How to solve equations
Mostra commenti meno recenti
Eq1 : x = 2*pi + 1*pj + 3*pk
Eq2 : y = 5*pi + 9*pj + 2*pk
Eq3 : 1 = pi + pj + pk
Let's say i have calculated pi,pk,pj using solve() command with x,y given. How can i find x,y back with the pi,pj,pk that i found.
Risposta accettata
Più risposte (1)
Elijah Smith
il 18 Dic 2018
I'm not sure if I understand what your asking. If you are saying that you have the values for pi, pj, and pk already then you can define those variables and just type each line into a script or the command window:
x = 2*pi + 1*pj + 3*pk;
y = 5*pi + 9*pj + 2*pk;
If this is not what you are looking for then please elaborate.
Categorie
Scopri di più su Numbers and Precision in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!