Newton's method
www.mathworks.com › 1451679-newton-s-methodSep 12, 2021 · out = x.^3 - (6*x.^2)+ 11*x - 6; end. %%file df1.m. function out=df1 (x) out=3*x.^2 - 12*x + 11; end. Tab [] for i = -1:0.05:5 %% I have to apply Newton on the values x = [-1:0.05:5] Tab = [Tab [newton (i,f1,df1,10^ (-8))]] %% error message: the variable Tab appears to change size on every loop iteration.