Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

fliptform

Flip input and output roles of TFORM structure

Syntax

TFLIP = fliptform(T)

Description

TFLIP = fliptform(T) creates a new spatial transformation structure, a TFORM struct, by flipping the roles of the inputs and outputs in an existing TFORM struct.

Examples

T = maketform('affine', [.5 0 0; .5 2 0; 0 0 1]);
T2 = fliptform(T)

The following are equivalent:

x = tformfwd([-3 7],T)
x = tforminv([-3 7],T2)

Introduced before R2006a

Was this topic helpful?