size {matlab}R Documentation

MATLAB size function

Description

Provides dimensions of x.

Usage

size(x)

Arguments

x numeric vector or matrix

Details

Invokes base::length or base::dim depending on argument x.

Value

Returns class size_t containing the dimensions of input argument.

Author(s)

P. Roebuck, roebuck@mdanderson.org

Examples

size(1:8)
size(matrix(1:8, 2, 4))

[Package matlab version 0.7-6 Index]