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

1 visualizzazione (ultimi 30 giorni)
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

Risposte (1)

Matt J
Matt J il 6 Set 2024
Use lsqlin instead.
  12 Commenti
Torsten
Torsten il 9 Set 2024
Modificato: Torsten il 9 Set 2024
We are unable to run this code because variables are undefined.
sanjay
sanjay il 13 Set 2024
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

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by