hi i have vector for i and this equation : i= (K1*V+(K2*V^0.5)) and amount of V in known. how can i found K1 and K2?

1 Ansicht (letzte 30 Tage)
hi i have vector for i and this equation : i= (K1*V+(K2*V^0.5)) and amount of V in known. how can i found K1 and K2?

Antworten (2)

Yongjian Feng
Yongjian Feng am 3 Feb. 2022
If I and V are vectors, you can just call solve to do the job:
I = [1 2];
V = [3 4];
syms K1
syms K2
eq = I == (K1.*V+(K2.*V.^0.5));
sol = solve(eq)
sol.K1
sol.K2

David Hill
David Hill am 3 Feb. 2022
I=[1 2];
V=[3 4];
K=[V',sqrt(V)']\I';

Kategorien

Mehr zu Manage Products finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by