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

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

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

Member of the matrix class.

Syntax

c = zeros(a)

c = zeros(a, b)

c = zeros([a, b])

Description

Generates a matrix of zeros.

Examples

Inputs

Name Description
a Specifies the number of rows in c. a is a positive scalar.
b Specifies the number of columns in c. b is a positive scalar.

Outputs

Name Description
c Returns an a-by-b matrix whose elements are all 0s. If you do not specify b, c returns a square matrix of length a.

Examples

C = zeros(3, 5)

Related Topics

eye
false
ones
true


Resources


 

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