I have been trying to write code for Krylov's method for calculation of rigting levers for ship stability, as a part of my ship design project. I am having difficulty. i have a beginner level experience in MATLAB. i have not been able to find anything for this method anywhere. can anyone help me. i am a student of Naval Architecture.