请教小西,我这个方程就是一个向真值的逼近,我现在不明白的是MATLAB中怎么编程可以使某元素的第N次逼近中可以取到小于其本身元素的第N次逼近的值及大于其本身元素第N-1次逼近的值。不知看迭代方面的书对此有何帮助。
hi messenger, thanks for your help, but this program isn't correct, X(i) is an value of the matrix X at the ith row, instead of the ith interation.