Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Over-determined system of equations

1 Ansicht (letzte 30 Tage)
parham kianian
parham kianian am 24 Okt. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Dear friends,
I need to solve a system of over-determined equations as follow:
max(abs(A11*x1 + A12*x2 + ... + A1m*xm)) = B1
max(abs(A21*x1 + A22*x2 + ... + A2m*xm)) = B2
.
.
.
max(abs(An1*x1 + An2*x2 + ... + Anm*xm)) = Bn
and in matrix form: max(abs(A*x)) = B.
x is the vector of unkonws with m number of arrays. B is the vector of knowns with n number of arrays and finally A is a n by m matrix. But the issue is that each array of matrix A is a vector. This is why I used the functions of max and abs in the system of equations. Note that this is an over-determined system, that is, the number of equations (n) is greater than the number of unknowns (m).
Is there any MATLAB fuction to solve such system of equations?
  2 Kommentare
Fabio Freschi
Fabio Freschi am 24 Okt. 2019
A*x is a vector
abs(A*x) is a vector
max(abs(A*x)) is a scalar
while B looks like a vector. I think that your problem is not well explained.
parham kianian
parham kianian am 24 Okt. 2019
Dear Fabio
consider first equation:
A11*x1 + A12*x2 + ... + A1m*xm is a vector. then the abs(A11*x1 + A12*x2 + ... + A1m*xm) is also a vector. finally the max(abs(A11*x1 + A12*x2 + ... + A1m*xm)) is scalar like B1. So the problem is well explained.
max(abs(A*x)) is not a vector. It is n number of vectors which max(abs(A*x)) becomes a vector with same size as B.
Note that each Aij is a vector. That is, arrays of matrix A are vectors not scalars.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by