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

1 次查看(过去 30 天)
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 个评论
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 CenterFile Exchange 中查找有关 Linear Least Squares 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by