>> power_method_test 20-Jul-2008 17:41:05 POWER_METHOD_TEST MATLAB version: Test the routines in the POWER_METHOD library. POWER_METHOD_TEST01 Use the power method on the Fibonacci2 matrix. Matrix order N = 50 Maximum iterations = 300 Error tolerance = 1e-06 Number of iterations = 193 CPU time = 0.040000 Estimated eigenvalue = 1.618038 Correct value = 1.618034 Error = 4.206838e-06 Sine of angle between true and estimated vectors = 4.436194e-06 POWER_METHOD_TEST02 Use the power method2 on the Fibonacci2 matrix. Matrix order N = 50 Maximum iterations = 300 Error tolerance = 1e-06 Number of iterations = 194 CPU time = 0.080000 Estimated eigenvalue = 1.618037 0.000000 Correct value = 1.618034 Error = 3.411417e-06 POWER_METHOD_TEST03 Use the power method2 on the TRIS matrix. Matrix order N = 50 Maximum iterations = 4000 Error tolerance = 1e-06 Number of iterations = 2867 CPU time = 0.680000 Estimated eigenvalue = 10.001818 5.647974 Correct value = 10.000000 5.646125 Error = 2.593310e-03 POWER_METHOD_TEST: Normal end of execution. 20-Jul-2008 17:41:06 >>