フィルターのクリア

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 回表示 (過去 30 日間)
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 件のコメント
David Hill
David Hill 2022 年 2 月 3 日
One equation, two unknowns, K1 and K2 fall on a line for each i, infinite solutions for each i.

サインインしてコメントする。

回答 (2 件)

Yongjian Feng
Yongjian Feng 2022 年 2 月 3 日
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 2022 年 2 月 3 日
I=[1 2];
V=[3 4];
K=[V',sqrt(V)']\I';

カテゴリ

Help Center および File ExchangeEquation Solving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by