The orthogonal projection of vec{a} onto vec{b} can be found by (vec{a}cdot vec{b}/|vec{b}|)vec{b}/|vec{b}|={vec{a}cdot vec{b}]/{vec{b}cdot vec{b}}vec{b} Let us find the

This seems like it should be simple, but I haven't been able to figure out how to use Matlab to calculate an orthogonal vector. If my vector is: Theme Copy syms a p= [1;-a;0]