I am using the function fitnlm :
f= @(a,x)(a(1)*log(x+a(2)));
mod= NonLinearModel.fit(A,B,f,[3,1])
for some data points (A,B)).
I am having a problem how to get separately the values of a(1) and a(2) to use them in an internal matlab function. Does anay one know how can I get them ?
Thank you for your help.
