I would like to execute the following command in MATLAB R2012a:
tform = affine2d([0.92387953 -0.38268343 0; 0.38268343 0.92387953 0; 2 3 1]);
I keep getting the following error :
Undefined function
'affine2d'for input arguments of type'double'.
It seems to expect it to be a function while actually it is a class.
Can someone please help me with this error?
Image Processing Toolboxto use that function because the code is correct. So I guess you don't have it. What do you get when you typewhich affine2din the Command Window?affine2dwas released as of R2013a. Even if the OP installs the toolbox, his/her version of MATLAB won't have it. Sucks... but that's how they make money :( lol.