I have tried the following:
dct = 1;
ctyi = -0.5;
dH = 0.5;
syms u
x = -1:0.01:3;
for k = 1:length(dH)
for i = 1:length(x);
T = @(u)((dct*exp(-(u-k).^2/(wH))) - (u./sqrt(1+u.^2)-ctyi));
J(i) = fzero(T,i);
end
end
Just for one value of dH now. It gives only 1 solution, which I find weird since if I make the following plot:
u = -1:0.01:3;
plot((dct*exp(-(u-dH).^2/(wH))) - (u./sqrt(1+u.^2)-ctyi))
I see that there are three zeros.