MATLAB: Cross Products MatLab

MATLAB

well I am stuck on this problem and cant figure out what the components of the position vector and the force vector are. The problem is this:
Determine the moment force about the point where a bracket is attached to a wall. The bracket extends 10 inches out from the wall and 5 inches up. A force of 35lbf is applied to the bracket at an angle of 55 degrees from the vertical. Your answer should be in ft-lbf, so you'll need to do some conversion of units.
Any help would be greatly appreciated!

Best Answer

fa_lbf = 35
alpha_deg = 55
f_lbf = fa_lbf*[sind(alpha_deg);cosd(alpha_deg);0]
r_in = [10;5;0]
r_ft = r_in/12
m_lbf_ft = cross(f_lbf,r_ft)