You need the explicit multiplication sign 2*x:
h=@(x)exp(2*x).*tan(x)./x.^3
You might also want to put in some parentheses instead of relying on the order of operations, to be certain the expression is evaluated in the order you expect.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!