But, the MATLAB code is so slow. Any help would be appreciated.
The MATLAB code written by me is as follows: (soso slow, whereas definitely correct).
I guess the critical time-costing step is compMultiFoxHIntegrand function, how to. How can I rewrite it to make it fastetrfaster?