Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
ArrayTools[Concatenate] - Array concatenation
Calling Sequence
Concatenate(dim, A1, A2, ...)
Parameters
Ai
-
Matrix, Vector, or Array
dim
dimension to concatenate along
Description
The Concatenate command concatenates two or more Matrices, Arrays, or Vectors along the dimension specified by dim.
Two or more Ai of similar size can be combined into a structure of the same or higher dimension. The Ai must have the same dimension sizes in all dimensions other than dim. If an Ai passed to Concatenate has too few dimensions, a dimension size of 1 is automatically assumed for every missing dimension.
Row vectors of length L are treated as 1xL Arrays, so concatenating row vectors along the first dimension creates a Matrix, while concatenating them along the second dimension creates a larger vector.
Scalars can be concatenated to arrays to create a longer array. Two scalars can be concatenated to form a 2-element array. Horizontal concatenation of scalar strings is a special case, and results in a concatenated string rather than an array of strings.
This function is part of the ArrayTools package, so it can be used in the short form Concatenate(..) only after executing the command with(ArrayTools). However, it can always be accessed through the long form of the command by using ArrayTools[Concatenate](..).
Examples
See Also
ArrayTools
Download Help Document