imat_ctrace/char


Purpose

Convert coordinate trace into array of strings.

Syntax

s=char(t)

Description

When applied to an imat_ctrace object, the CHAR function converts a coordinate trace t into an array of strings. Each row of the string array corresponds to one coordinate in t. All coordinate strings are padded with spaces to make the result a rectangular array.

Examples

>> t=imat_ctrace('5y', '6rx', '3z', '4x-')

t =

    '5Y+'
    '6RX+'
    '3Z+'
    '4X-'

>> s=char(t)

s =

5Y+
6RX+
3Z+
4X-

>> whos

Name      Size         Bytes  Class

s         4x4             32  char array
t         4x1            284  imat_ctrace object

Grand total is 37 elements using 316 bytes

>>

See Also

imat_ctrace/imat_ctrace, imat_ctrace/cellstr