I need to make one of coefficients in my model function stricte positive number to avoid complex results. Is there any possibility to limit my coefficient?

 채택된 답변

Torsten
Torsten 2017년 1월 4일

0 개 추천

Square the coefficient in your model.
Best wishes
Torsten.

댓글 수: 2

Mateusz Pydych
Mateusz Pydych 2017년 1월 4일
Thanks for your answer Torsten, it's of course pretty smart and actually works, but that's not quite what I meant. I probably formulated question poorly. What I meant was: is there any option in matlab fitting tool that allows me to limit values of coefficient. For example limit it to be only in (0,1) numerical rang
Torsten
Torsten 2017년 1월 4일
https://de.mathworks.com/matlabcentral/answers/183431-how-to-limit-variable-range-with-cftool-interactive-curve-fitting-toolbox
Best wishes
Torsten.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

질문:

2017년 1월 4일

댓글:

2017년 1월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by