MATLAB: How can I do this in matlab

thanks in advance.

x= [0:1:10]
y= 68.4266*((sqrt(x/(1+x)))+((1/(1+x))*log((sqrt(x)+sqrt(x+1))))

Best Answer

E.g., replacing * with element-wise multiply .* and / with element-wise divide ./ you get (assuming I got your parentheses corrected in the way that you need):
x = [0:1:10];
y = 68.4266*( sqrt(x./(1+x)) + (1./(1+x)) .* log( sqrt(x) + sqrt(x+1) ) );