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
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
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manage Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!