Linear Equations Solving Problem

% Given Data
H = [-11.3137 3.5506 -2.1062;
-11.3137 2.1062 3.5506;
-11.3137 -3.5506 2.1062;
-11.3137 -2.1062 -3.5506]
V = [0; x; y] % x, y are the variables wanted so that sqrt(x.^2 + y.^2) is maximum
U = [10; 10; 10; 10]
% U = [u1; u2; u3; u4]
% The statement is that each member of the U matrix must in between -10 < ui < 10
% The equation is in the form of
U = H * V;
Thanks for your support! I appreciate it.

댓글 수: 3

Wai Han
Wai Han 2020년 11월 10일
Please help me!
SAA
SAA 2020년 11월 10일
Can you explain what you want to do?
Its not very clear if you just put the code also are you defining x and y anywhere?
Wai Han
Wai Han 2020년 11월 10일
Hello, I want to find the values of x and y. Those are the unknown variables

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

답변 (1개)

Mohamad
Mohamad 2020년 11월 10일

0 개 추천

Hi , you can use the Pseudoinverse of matrix H , because it is not a sqaure matrix .
x=pinv(H)*U

댓글 수: 1

Wai Han
Wai Han 2020년 11월 10일
Hi greetings. I have a question about this. Will the pseudo inverse make sure that V(1,1) = 0 ?

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

카테고리

도움말 센터File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

2020년 11월 10일

댓글:

2020년 11월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by