MATLAB: Problem with simple “flip” function

flip

I try this simple exemple of flip function
Flip Column Vector A = [1;2;3]; B = flip(A) B =
3
2
1
and I get this error in lieu on B=…. !?
Undefined function 'flip' for input arguments of type 'double'.
I use R2013a

Best Answer

The function isn't flip; they're separate functions fliplr and flipud for row/column vectors in particular.
Related Question