I need to apply constrain using least square non negative function in Matlab
Mostra commenti meno recenti
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
il 6 Set 2024
0 voti
12 Commenti
sanjay
il 6 Set 2024
sanjay
il 6 Set 2024
Torsten
il 6 Set 2024
lsqlin i tried but it converge so fast that it takes few seconds unlike lsqnoneg which takes time to converge ,
And what's the problem if a solver only takes a few second to converge ? You are not satisfied with the result ?
Actually i am working on ill posed problem so the sensitvity is not full rank
But you said you are using Tikhonov regularization. So, it shouldn't be ill-posed anymore.
If you are getting a radically different solution with lsqlin from what you expect, I imagine it is because the bounds drastically alter the solution, so perhaps you made the bounds excessively tight. I would point out, though, that you haven't shown us any code so far in the conversation. This limits our ability to visualize what you are doing, and to theorize about problems.
sanjay
il 9 Set 2024
Matt J
il 9 Set 2024
There's nothing we can say. You still haven't provided code for us to run.
sanjay
il 9 Set 2024
sanjay
il 9 Set 2024
sanjay
il 13 Set 2024
Categorie
Scopri di più su Linear Least Squares in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!