Constrained linear least-squares for xA=b in matlab

后端 未结 1 1649
盖世英雄少女心
盖世英雄少女心 2021-01-27 11:13

I want to solve xA=b with constraint 0<=x for x.

I found functions like lsqnonneg and lsqlin which solves for Ax=b

1条回答
  •  深忆病人
    2021-01-27 11:58

    As David commented, it is straightforward to show that

    enter image description here

    so you can use standard methods to solve the problem with A' and b' and then transpose the answer.

    0 讨论(0)
提交回复
热议问题