trunc(Matrix) Function

Top 

Description

Computes the integer part of the specified value.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

 

Function Signature

trunc(

Matrix M)

 

 

Arguments

M


Description:

The matrix whose element-by-element integer part will be returned.

 

 

 

Return Value

Type:

Matrix of number

 

 

A matrix containing the integer part of each element of matrix M.

 

Syntax

myMatrix1 = trunc(myMatrix2);

 

 

See also

trunc