help with systems in matlab

Hello
I must solve a system like this (link posted above) in Matlab, and do not know how to write this system with this type of equations. Unknown variables are: Yj1 and Zj1.
Can someone explain how to write the system in MATLAB and to show my solutions?
sorry for the crappy english

 採用された回答

Walter Roberson
Walter Roberson 2011 年 9 月 13 日

0 投票

Unfortunately the image is too small for me to make out the equations for sure. The best I can make out at the moment is:
(yf1 + f/(2*sqrt(3))^2 + zf1^2 = rf^2
(yf1 - y0 + e/(2*sqrt(3)))^2 + (zf1 - z0)^2 = (re^2 - x0^2)
I do not find any yj1 or zj1 : the letter I find seems to be 'f', not 'j'.
I am not certain of the subscript that I have given above as 'z0', and I am not certain of the subscript that I have given above as 're'.
In the second equation, I am not certain that if 'e' that is being divided by 2*sqrt(3) is a variable named "e" or if it is the base of the natural logarithms (2.717...)
If the equations are similar to what I have written out, then you would be able to solve them easily using solve() from the symbolic toolbox, or manually without any great difficulty by using the well-known quadratic formula.
You might end up with a total of 4 solutions, some of which might be complex.

その他の回答 (1 件)

Lucian
Lucian 2011 年 9 月 16 日

0 投票

>> f=[((ij1 +0.08)^2 +zj1^2+(-0.16^2)), ((ij1-0.13+0.02)^2+zj1^2+(-0.23^2+0.1^2))]; SOLUTION = solve(f(1), f(2));
>> Solution1 = [SOLUTION.ij1(1), SOLUTION.zj1(1)]
Solution1 =
[ -29/950, 20895^(1/2)/950]

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by