http://www.mathworks.com/matlabcentral/answers/1325-what-is-missing-from-matlab#answer_1931
The basic jist is you can't create a matrix and directly index it.
My question is is there a known work-around for doing something like this?
I have a bunch of functions which operate on 2x1 vectors and I'm using an anonymous function that extracts the second element and does some operation with them.
Something like this:
f = @(theta)(rot_vec(V1,theta)(2) + rot_vec(V2,theta)(2) - rot_vec(V3,theta)(2));
How would I accomplish this same operation in matlab?