Making a matlab file run faster

Job ID: 34637243

Budget: $10 – $30 USD

I have a matlab file with loops. For 10 loop, it takes 40 minutes. When taking 100 loop it takes days to run. Can anyone helping in minimizing the time of running by revising the commands of preallocating and other command and improve the performance of the file ?