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
5 views (last 30 days)
Show older comments
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 Comments
Mathieu NOE
on 26 Aug 2022
Tipe of the day : if you don't share your code it's going to be difficult to help you
tx
Answers (1)
Bruno Luong
on 26 Aug 2022
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 Comments
See Also
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!