I need 2000 lines of Delphi code converted to Matlab. This is a program which finds eigenvectors and eigenvalues of large matrices using QZ algorithm. However, providing you are accurate with the code conversion, you probably don't have to be familiar with the algorithm itself.
The code is thoroughly commented, but the comments are in Russian. You'll have to copy them into the output Matlab program as a part of the task.
If needed, I can also provide you with a Mathcad program with the realization of the same algorithm.