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 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