Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the 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?