How Can I solve this equations system?
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
K.a+M.b=L.b
P.a+ Q .b=R.a
I have the equations above and I am trying to find a and b. All capital letters are constants. How can I solve this problem in Matlab?
Thanks
댓글 수: 0
답변 (2개)
Walter Roberson
2014년 2월 25일
0 개 추천
Do the "." represent multiplication? Are the elements all scalars or are they matrices?
If everything is scalar and "." represents ordinary multiplication, then the solution is a = 0, b = 0.
댓글 수: 6
Walter Roberson
2014년 2월 25일
I seem to find that there are potential multiple solutions,
a = b * (L-M)/K
for all real-valued b
Provided that Q has a particular ratio in K, L, M, P, R (independent of "a" and "b"). And when it does not have that particular ratio, a = 0, b = 0 looks to be the only solution.
Star Strider
2014년 2월 26일
How did you get that from the equations in your original post?
What are you not telling us?
Mehmet
2014년 2월 27일
Walter Roberson
2014년 2월 27일
I ran it through Maple and did some testing. You aren't going to be able to get a symbolic solution, I don't think.
You have a difficulty in the equations. Look carefully at the log() terms. One of them is log(8*cos(beta) - 9). For all real beta, 8*cos(beta)-9 is negative, ranging from -17 to -1. Thus you are introducing a complex term. Getting rid of that requires precise cancellation of all of the complex terms in the equation, which is pretty tricky to achieve.
Now if the alpha and beta are permitted to be complex then getting a solution numerically would be easier.
Mehmet
2014년 2월 27일
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!