It depends on the magic parts "% huge euation calculation" and "% comparison with experiment data" if the loops can be avoided. Only posting the loops and just a rought comment for the actual calculations is not enought to suggest a solution.
Currently the only hint is to pre-allocate the output and not to use "table" as a name of a variable, because it is an important Matlab function.
