Solve equation with vectors as variables

조회 수: 2 (최근 30일)
Carlos
Carlos 2013년 6월 28일
댓글: Roger Stafford 2017년 3월 15일
Hello everybody,
I´m trying to solve an equation with only one unkown, where some of the other terms are vectors. The equation looks like this:
(rG_i+dnu_i*drG_pp)*(rG_i+dnu_i*drG_pp)'+(nu_i+dnu_i)*Fne*Fne'=0
where rG_i,drG_pp and Fne are column vector, nu_i is a scalar and dnu_i is the known (scalar too).
I have tried to solve it symbolically (solve function) but it treats first all the variables as scalars, so after substituing the result is not correct. I think the solution must be obtained numerically to resolve this issue. I tried with vpasolve but it doesn´t work either.
Does anyone have any idea how to solve this?
Thanks for your help in advance.
Carlos
  댓글 수: 1
Ahmed A. Selman
Ahmed A. Selman 2013년 6월 28일
Can you specify how you used columns vector and a scalar in a symbolic op? Post your code, it might help people to help you. I also prefer to use simple representation of variables, e.g., what would be the problem if you put y instead of drG_pp, and x instead of dnu_i..etc?

댓글을 달려면 로그인하십시오.

답변 (1개)

Roger Stafford
Roger Stafford 2017년 3월 15일
If by the term “column vector” you mean a vector with one column, as is usual in matlab, then you have one unknown and as many equations to satisfy as the square of the length of these column vectors. In general there will be no solutions to systems like that. I believe you need to rethink either the problem or your description of it.
  댓글 수: 1
Roger Stafford
Roger Stafford 2017년 3월 15일
Hmm! I just noticed that this is a very old question. I wonder how it got here.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Numeric Solvers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by