Use fplot (f) instead. fplot accepts symbolic expressions directly — no matlabFunction conversion needed. All f* plotting functions support standard MATLAB graphics options like 'LineWidth', 'Color', ...