https://medium.com/@youness.azzamok/efficient-data-processing-in-matlab-mastering-vectorization-for-high-performance-code-830777862974