I am using Curve fitting for two unknown variables. While I am running the program it is displaying some error. Function is shown in below

Y=1-(1-(X).^B).^A. In this function A and B are unknown parameter. When I run this program it is giving some error. Please help me out to over come this problem.

2 commentaires

Tipe of the day : if you don't share your code it's going to be difficult to help you
tx
I am not writing any codes. I am just solving this equation using Curve fitter tool. It is easier to run the program in curve fitter tool. Please I request you to look at the problem and help me out.

Connectez-vous pour commenter.

Réponses (1)

Y=1-(1-(X).^B).^A
Such expression returns complex value X < 0, or (1-(X).^B) < 0.
Make sure your code avoid or can deal with such cases.

3 commentaires

When I run equation just as Y=1-(1-(X).^B) it will be executed. But I am having Y=1-(1-(X).^B).^A. It will not execute. I want this function to be executed and I need the value of A and B.
Are your data for X always >0 and <1 ?
Is A supposed to be positive ?
Yes sir... It is solved sir. We need to keep upper bound and lower bound limit form -1 to infinity,.. Thank you for your help.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange

Commenté :

le 26 Août 2022

Community Treasure Hunt

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

Start Hunting!

Translated by