Hello,

Could anyone help me to write Aitken algoritm in actave?

There is what I already wrote, but I do not know how to end it, please help me mates

Code:function w = aitken(n) for i = 0:0 for j = 1:n-1 W(i,j) = ((y(i)*(x(j)-x))-(y(j)*(x(i)-x)))/((x(j)-x(i)); for k = j+1:n W(i,j,k) = ((W(i,j)*(x(k)-x))-(W(i,k)*(x(j)-x)))/(x(k)-x(j)); for m = k+1: endfor endfor endfor end