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.

linalg::nrows

Number of rows of a matrix

MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

Syntax

linalg::nrows(A)

Description

linalg::nrows(A) returns the number of rows of the matrix A.

Examples

Example 1

The matrix:

A := matrix([[1, 2, 3, 4], [3, 1, 4], [5, 6]])

has three rows:

linalg::nrows(A)

Parameters

A

A matrix of a domain of category Cat::Matrix

Return Values

Positive integer.

See Also

MuPAD Functions

Was this topic helpful?