Curve fitting tool is saying '' Cannot fit Power functions to data where X has nonpositive values"
Show older comments
I have changed the axes limits of my data to non values of x axes greater than zero; still it's responding with the same message.
8 Comments
Vaidyanathan Thiagarajan
on 2 Nov 2017
Edited: Vaidyanathan Thiagarajan
on 3 Nov 2017
Hi,
Can you please post your code? What function are you using in the curve fitting toolbox? What is your data?
Best Regards,
Vaidyanathan
Ying Ling Tan
on 12 May 2019
Hi there, I'm having the same problem as well. Any suggestions?
I have ensured that all the data values I entered are positive values
Kind regards
Rik
on 12 May 2019
The followup question is still the same: provide the code you're using. If possible, also attach your data in a mat file so we can reproduce your issue.
UPENDRA YADAV
on 26 Apr 2020
I am also getting same error even my X is positive.
Rik
on 26 Apr 2020
The followup question is still the same: provide the code you're using. If possible, also attach your data in a mat file so we can reproduce your issue.
Walter Roberson
on 26 Apr 2020
Changing axes limits does not change the data that is being sent to the curve fitting function.
esil kara
on 2 Jun 2021
I also have same problem.
my x data=
0
1
2
5
10
15
20
30
40
50
60
70
80
100
110
120
130
140
150
my y data:
1,01976047904192
0,996524761077324
1,04058192955590
1,20573378839590
1,23195488721805
1,22976629766298
1,22400990099010
1,26178428761651
1,25282758620690
1,25967976710335
1,26270022883295
1,25734824281150
1,25659109991604
1,26810506566604
1,26653465346535
1,25684647302905
1,27933333333333
1,26566125290023
1,27722772277228
I try to fit my curve by using Curve fitting tool with power function but not work.
Best regards,
Esil
Steven Lord
on 2 Jun 2021
my x data=
0
Zero is a nonpositive value.
Answers (0)
Categories
Find more on Least Squares 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!