Linear Equations Solving Problem
Show older comments
% 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.
Answers (1)
Mohamad
on 10 Nov 2020
Hi , you can use the Pseudoinverse of matrix H , because it is not a sqaure matrix .
x=pinv(H)*U
Categories
Find more on Numerical Integration and Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!