Dear reader,
i need to implement to formula shown in the attachments into my matlab script.
I have two arrays, each containing eleven values for G_n and Lambda_n and one, much longer array containing the values for x*.
The matlab script should go through the length of the array x* and calculate Nu_x,T for each x* using the 11 values of G_n and Lambda_n in the depicted sum.
I tried using a for loop with the length of x* and implementing the formula using symsum, but the function does not accept my calls to Gn(i), with i being 1:11, to get the corresponding values of G_n and Lambda_n.
Tl;dr: Can u explain to me how to implement the formula into matlab using the vectors G_n, Lambda_n and x*?
With best regards,
Robert