Library function log10 not found when using fit
I have been trying to fit some data using a lograthimic fit with the following command, where ind_array and sample_array are my x and y data respectively:
expo_curve=fit(ind_array,sample_array,’log10′);
However, I keep getting the following error:
Library function log10 not found.
The weird thing is I was using this exact code like 3 weeks ago and was able to generate the fit. So I am unsure what is going wrong, and the API says that ‘log10’ is a valid fittype for the fit command.
Any help would be appreciated,
Thank you,
SeanI have been trying to fit some data using a lograthimic fit with the following command, where ind_array and sample_array are my x and y data respectively:
expo_curve=fit(ind_array,sample_array,’log10′);
However, I keep getting the following error:
Library function log10 not found.
The weird thing is I was using this exact code like 3 weeks ago and was able to generate the fit. So I am unsure what is going wrong, and the API says that ‘log10’ is a valid fittype for the fit command.
Any help would be appreciated,
Thank you,
Sean I have been trying to fit some data using a lograthimic fit with the following command, where ind_array and sample_array are my x and y data respectively:
expo_curve=fit(ind_array,sample_array,’log10′);
However, I keep getting the following error:
Library function log10 not found.
The weird thing is I was using this exact code like 3 weeks ago and was able to generate the fit. So I am unsure what is going wrong, and the API says that ‘log10’ is a valid fittype for the fit command.
Any help would be appreciated,
Thank you,
Sean fit, curve fitting, log10 MATLAB Answers — New Questions