Hello,
I have been given a humongous code which has been implemented at 2013 and the problem is, the code is very slow for the kind of simulation I am running.
Initially, I wanted to reimplement everythings in another faster computer language like Fortran, but it is almost impossible since the code is huge... Hence, I did Matlab profiler to find the bottleneck, I vectorised the code and tried to remove any unnecessary functions..etc. I could save a bit of time, but still no satisfaction.
Could anyone help me to improve the code and speed up? I would really appreciate so.