Products & Services Solutions Academia Support User Community Company


combvec

Purpose

Create all combinations of vectors

Syntax

Description

combvec(A1,A2...) takes any number of inputs,

A1
Matrix of N1 (column) vectors
A2
Matrix of N2 (column) vectors

and returns a matrix of (N1*N2*...) column vectors, where the columns consist of all possibilities of A2 vectors, appended to A1 vectors, etc.

Examples


 Provide feedback about this page 

Previous page calcperf compet Next page

Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS