Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

int16 (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the support class.

Syntax

c = int16(a)

Description

Converts the input elements to 16-bit signed integers. LabVIEW MathScript does not support operations on int16 data types.

Examples

Inputs

Name Description
a Specifies a matrix.

Outputs

Name Description
c Returns the 16-bit signed integer part of a. If an element in a is greater than 2^15-1, the corresponding element in c is 2^15-1. c is a matrix of the same size as a.

Examples

A = [23456, 123456, 8383838]
C = int16(A)

Related Topics

double
int8
int32
int64
uint8
uint16
uint32
uint64


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit