MATLAB: Equation syntax problem. Can someone help me type it in correctly

equationequation entrysyntax

I'm pretty new to matlab and i'm not positive how to type this equation in correctly,
function [E_theta] = example_pattern_function(theta_radians, phi_radians)
E_theta = sin(theta_radians).*sin(cos(theta_radians)*3.14159);
E_theta = E_theta / (3.14159*cos(theta_radians));
any suggestions?

Best Answer

(sin(theta) .* sin(pi * cos(theta)) ./ (pi * cos(theta))).^2