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?
조회 수: 6 (최근 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!