So one of the coefficients is very small (10^-7) and the table shows up to 4 decimal by default. So it ends up showing it as zero. How do I change the format?
[xData, yData] = prepareCurveData( x, y );
ft = fittype( 'power2' );
opts = fitoptions( 'Method', 'NonlinearLeastSquares' );
opts.StartPoint = [0.394529740755732 -0.329129191919684 -0.00329985728832149];
[fitresult, ~] = fit( xData, yData, ft, opts );
data = coeffvalues(fitresult);
app.UITable_11.Data = data;