Hi everyone.(adsbygoogle = window.adsbygoogle || []).push({});

Is there any way to set demands on least square solutions?

I have an equation on the form Ax=b, which is solved for x as:

x=(A'*A)^-1*A'*b

I do know for a fact that all values in x should be positive, but the least square solution for my particular system contains a number of negative x-values.

Is there some way to find the least square solution with only positive coefficients?

Thanks in advance

Jocke

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Finding the least square solution with only positive coefficients

Loading...

Similar Threads - Finding least square | Date |
---|---|

I How to find admissible functions for a domain? | Jan 31, 2018 |

Least Square basic problem | Jan 20, 2018 |

I How to find the matrix of the derivative endomorphism? | Oct 22, 2017 |

I Finding the Kernel of a Matrix Map | Sep 15, 2017 |

A How can I find the collision time of 2 ellipsoids that rotate | May 22, 2017 |

**Physics Forums - The Fusion of Science and Community**