I´ve got an integral equation I need to solved numerically with Matlab and I'm currently stuck. I just need some help with the key ideas on how to handle these problems with Matlab, so I'll keep it stripped from most mathematics.

In my code Z, g and omega: w are vectors of the same size such that Z(1) corresponds to w(1) etc. and f is a function.
How do I treat the "shift" w-w_prime in the best way? I don't have a good way to handle the case when w-w_prime corresponds to an argument outside Z or g. I've been thinking that I can use the fact that Z, g and f, in my problem, corresponds to even functions, but I don't quite know how.
wand why you would want to evaluate it outside of the domain ofZ. You might find that linear interpolation of the values will give you the "mid points" you are looking for; or you could look at functions likeconvnwhich allow you to do a convolution (with the'same'optional argument it takes care of the shift for you). - FlorisfwithgZ. Am I understanding that correctly? But Z is on both sides of the equation which is a little scary - I suppose this is why you say you need to "solve" the equation (as opposed to "evaluate" the integral, which is only the half of it). Are you solving for Z, g, f? - Floris