Hello everyone, Is it possible to modify function in the cycle? f.e. i have function
g = @(x) x.^5+2*x.^4-5*x.^3-8*x.^2+5*x+5;
And i need to divide it every loop by (x-Const). Is it possible and if yes. Can someone pls show me how? Thanks 😉
anonymous functionsMATLABmodifying functionsruffini method
g = @(x) x.^5+2*x.^4-5*x.^3-8*x.^2+5*x+5;
Best Answer