member(.)

Syntax

X.Y

Arguments

X is an object.

Y is a member/attribute of the object.

Details

Return the specified member/attribute of an object.

Examples

x=1 2 3;
y=4 5 6;
t=table(x,y);

t.x;
// output
[1,2,3]
t.y;
// output
[4,5,6]

t.rows();
// output
3
t.cols();
// output
2
t.size();
// output
3
// a table's size is defined as the number of its rows