A*x = b with maximal x
Show older comments
Hey guys, I am struggling with a rather easy mathematical problem:
I have a 3x2 Matrix, U = A\b gives me a solution with the minimal norm(U). But I want to have the maximum, where U(1,2,3) < 24000. Do you have an idea? Here is my code so far:
alpha = 12.34567;
dU = 1;
beta = [0 120 240];
A = [sind(beta(1)) sind(beta(2)) sind(beta(3)); cosd(beta(1)) cosd(beta(2)) cosd(beta(3))];
b = [tand(alpha) 1]';
% Rang = rank(A)
%
U = A\b
Accepted Answer
More Answers (1)
Categories
Find more on Logical 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!