If gpu computing or convert to mex file help to accelerate the code
Attached is the profiling results of my code, where the most time-consuming lines are those from build-in functions(e.g., find, max, min,...). As my code cannot be vectorized or run in parallel, I am wondering how to speed up the code? If gpu computing or convert to mex file help for this case?
Thank you very much.