09 September 2014 7 939 Report

I want to code some simple formulas for the ultimate strength calculation of ship panels. I have code nested for loop in a function. Inner loop uses elements of a vector as loop boundary. But in this case, it gives some incorrect results. The related part of my code is attached. In my code N is a vector whose dimension is kx1. I have to use every single element of N vector as a boundary for inner loop. Other vectors have been calculated previously.

Thank you so much in advance.

Best Regards.

Murat

Similar questions and discussions