I'm trying to calculate unit tangent, unit normal, and binormal vectors. If i'm understanding correctly the error comes when I try to divide rp by rn. What can I add to make this operation work, or how can I code this differently? Thank you all for your help.
r = [2*cos(t),2*sin(t),4*t];
Error using sym/subs>normalize (line 235)
Inconsistency between sizes of second and third arguments.
Error in sym/subs>mupadsubs (line 166)
[X2,Y2,symX,symY] = normalize(X,Y); %#ok
Error in sym/subs (line 154)
G = mupadsubs(F,X,Y);