A*x = b with maximal x
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!