How to get a and b using fit(x,y,power1)
I have XY data and fit it with y=ax^b. I use f = fit(x,y,power1) but don’t know how to get "a" and "b" to continue working with them. f(1) gives a, [a,b] = fit(x,y,power1) doesn’t help also.I have XY data and fit it with y=ax^b. I use f = fit(x,y,power1) but don’t know how to get "a" and "b" to continue working with them. f(1) gives a, [a,b] = fit(x,y,power1) doesn’t help also. I have XY data and fit it with y=ax^b. I use f = fit(x,y,power1) but don’t know how to get "a" and "b" to continue working with them. f(1) gives a, [a,b] = fit(x,y,power1) doesn’t help also. curve fitting toolbox MATLAB Answers — New Questions