How to solve the concatenation error in matrix?

2 visualizzazioni (ultimi 30 giorni)
M.Shaarawy
M.Shaarawy il 3 Gen 2019
Commentato: Matt J il 3 Gen 2019
I have a linear system Gm=d and I want to add equality constraints to this system in the form
Fm=h ; to solve at the end this system
[G'G F';F 0][m;lamda]=[G'd;h]
Where:-
G: 13×52; d: 13×1; m: 52×1; lamda: 1×1;
F: 52×52; h: 52×1;
OR:
F:13×52; h: 13×1
  2 Commenti
James Tursa
James Tursa il 3 Gen 2019
Modificato: James Tursa il 3 Gen 2019
Can you post the actual code you are using? And copy&paste the entire error message along with the offending line noted?
Matt J
Matt J il 3 Gen 2019
Could you not simply use lsqlin?

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by