From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Regarding affine transormation using maketform
Date: Wed, 07 Jan 2009 07:27:17 -0500
Organization: The MathWorks, Inc.
Lines: 24
Message-ID: <gk2735$qkf$>
References: <gk0ime$8f1$>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: 1231331237 27279 (7 Jan 2009 12:27:17 GMT)
NNTP-Posting-Date: Wed, 7 Jan 2009 12:27:17 +0000 (UTC)
User-Agent: Thunderbird (Windows/20081209)
In-Reply-To: <HIDDEN>
Xref: comp.soft-sys.matlab:510207

Gautam wrote:
> Hello,
> I am trying to write MATLAB code to rotate a point in 3-space about an
> arbitrary axis. I have based my code on this article -
> The problem I am
> facing is that the maketform function expects the last column to
> comprise of all 0's except the last element in the last row which has to
> be a 1 for affine transformation. However, my composite transformation
> matrix does not adhere to this requirement. I am not sure I understand
> why the maketform function expects the last column to comprise of all 0s
> for an affine transformation. Any information on how to get around this
> problem would be appreciated.
> - Gautam.

In the article at the link you provided, the transform matrices are 
transposed from the convention used by the Image Processing Toolbox. 
Notice in that article that the bottom row is all 0s except the last 
element, which is 1.

Steve Eddins