How to set the lower bound of extrapolation?
Mostra commenti meno recenti
Hi!
Is it possible to set a lower bound for extrapolating using the interp2 function? I am dealing with nitrogen concentrations, and a negative concentration cannot exist. However, currently the extrapolation results have negative values. So I do not want the extrapolation to go less than 0. I do not desire to set an upperbound limit.
Thanks! George
3 Commenti
Star Strider
il 17 Lug 2012
Is ‘interp2’ producing below-zero values in its interpolation or in its extrapolation? (You have more control over its extrapolation range than interpolation.) What 'method' are you using with ‘interp2’?
George McFadden
il 30 Ott 2012
charles alexander
il 29 Lug 2021
yes, its is possible to set a lower bound.
you will need to find the value of c from the linear discriminant model.
extrapolating will be (c1+c2)/100*values less than 30,
find the percentage value of extrapolation, add the (percentage value to the value of extrapolation:c3).
(c1+c2)/c3*fill_value.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Random Number Generation 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!