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

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

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the linalgebra class.

Syntax

c = horzcat(a, b, ...)

Description

Horizontally concatenates the input matrices. horzcat(a, b, ...) is equivalent to [a, b, ...]. You can specify an unlimited number of input matrices. All matrices must have the same number of rows.

Examples

Inputs

Name Description
a Specifies a matrix.
b Specifies a matrix.

Outputs

Name Description
c Returns the horizontal concatenation of a and b. c is a matrix.

Examples

A = [1, 2; 3, 4]
B = [5, 6; 7, 8]
C = horzcat(A, B)

Related Topics

cat
vertcat


Resources


 

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