Modify standard fit models to force intercept at [0,0]

3 次查看(过去 30 天)
Hello,
I know I could probably just use a custom fit to solve the problem I have right now, but I want to know if it is possible to modify/create a fitmodel after the library models, f.e. 'poly1', but force it to intersect at [0,0]. As far as I know, I could achieve this by just fitting 'm*x' in this case instead of poly1, but is there a way to apply this to all fitmodels? or would I have to create corresponding strings missing the constant term at the end for achieving this for every model?
Thank you & stay healthy
Claudius Appel

回答(0 个)

标签

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by