一段画牛顿迭代收敛域的matlab程序,%% Perform Newton iterationsfor k=1:maxIter;Z=Z-(f(Z,d)./fprime(Z,d));endfunction y=f(x,d);y=(x.^d)-1;endfunction y=fprime(x,d);y=d*(x.^(d-1));end%% Find d roots of unity,and the maskfor j=1:d root=exp(2*
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/19 16:44:07
![一段画牛顿迭代收敛域的matlab程序,%% Perform Newton iterationsfor k=1:maxIter;Z=Z-(f(Z,d)./fprime(Z,d));endfunction y=f(x,d);y=(x.^d)-1;endfunction y=fprime(x,d);y=d*(x.^(d-1));end%% Find d roots of unity,and the maskfor j=1:d root=exp(2*](/uploads/image/z/7001028-36-8.jpg?t=%E4%B8%80%E6%AE%B5%E7%94%BB%E7%89%9B%E9%A1%BF%E8%BF%AD%E4%BB%A3%E6%94%B6%E6%95%9B%E5%9F%9F%E7%9A%84matlab%E7%A8%8B%E5%BA%8F%2C%25%25+Perform+Newton+iterationsfor+k%3D1%3AmaxIter%3BZ%3DZ-%28f%28Z%2Cd%29.%2Ffprime%28Z%2Cd%29%29%3Bendfunction+y%3Df%28x%2Cd%29%3By%3D%28x.%5Ed%29-1%3Bendfunction+y%3Dfprime%28x%2Cd%29%3By%3Dd%2A%28x.%5E%28d-1%29%29%3Bend%25%25+Find+d+roots+of+unity%2Cand+the+maskfor+j%3D1%3Ad+root%3Dexp%282%2A)
xVmOV+S%Ѥiھھ&ΚlTijWDV[i-$3]k$-u{^s9>-VqM[=rwv͟+)ymKbR
B};NiԲT@
Rb!It!0)V5-Vu9Jא6_Z$u)V< }
Pa86eTUלz STFDX3i!>+Y.g 7+O^Fߏ}9ռM@յ^1uXZS1Sr86/@B20eH PL̩% *jEPuFK97Xl\l3oC&