I need to apply constrain using least square non negative function in Matlab

3 ビュー (過去 30 日間)
sanjay
sanjay 2024 年 9 月 6 日
コメント済み: sanjay 2024 年 9 月 13 日
Hi , I am working on Tikhonov Regularization and trying to reconstruct the absorption densities of experimental data using least square non negative function in matlab which takes my sensitivity matrix and measured data and solves for X unkonwn values, Now i want to apply constrain that during fitting it check whether my reconstruction is greater than or equal minimum values i assign manually and less than equal to maximum value is assign manually, the problem is lsqnoeng does not support upper bound and lower bound , can some one give me an idea how cani apply my constrain using lsnoneg

回答 (1 件)

Matt J
Matt J 2024 年 9 月 6 日
Use lsqlin instead.
  12 件のコメント
Torsten
Torsten 2024 年 9 月 9 日
編集済み: Torsten 2024 年 9 月 9 日
We are unable to run this code because variables are undefined.
sanjay
sanjay 2024 年 9 月 13 日
Okay i successfully reconstructed the results, but the probelm is when i directly use my data in AX =b form to reconstruct X , b is my data , then lsqlin doesnt reconstruct well. but when i scaled the data with maximum value in the data , by dividing this maximum value with data, also dividing this maximum value with upper and lower bound then it gives me good results and then i rescaled it by multiplying it with same maximum value ,Now i have concern why it is working good with scaled data and getting results with scaled data would be appropriate or not

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLinear Least Squares についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by