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 次查看(过去 30 天)
显示 更早的评论
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 个评论
Mathieu NOE
2022-8-26
Tipe of the day : if you don't share your code it's going to be difficult to help you
tx
回答(1 个)
Bruno Luong
2022-8-26
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!