The derivative of
$$
\log(x^{\sqrt{2}})-x^{3}+4=\sqrt{2}\log(x)-x^{3}+4
$$
is
$$
\frac{\sqrt{2}}{x}-3x^{2}.
$$
Setting the derivative to zero and solving for $x$,
$$
x=\frac{\sqrt[6]{2}}{\sqrt[3]{3}}.
$$
You can check that this is, in fact, the point at which the extrema is attained.
Plugging this $x$ into the original function and simplifying, the maximum is
$$
\left(24-2\sqrt{2}-\sqrt{2}\log\left(9/2\right)\right)/6\approx3.17408.
$$
(P.s. ~ This site is generally not for MATLAB, try stackoverflow instead)
fzero(y, x0)finds the root of the functionywith initial guessx0. You are not looking for roots, you are trying to find the max value. If you want to usefzero, you need to apply it to the derivative ofy, which you can compute either by hand, or symbolically, usingdiffif you have the symbolic toolbox. – parsiad Apr 28 '16 at 00:09