1function C = vertcat (varargin) 2%VERTCAT vertical concatenation. 3% [A ; B] is the vertical concatenation of A and B. 4% Multiple matrices may be concatenated, as [A ; B ; C ; ...]. 5% If the matrices have different types, the type is determined 6% according to the rules in GrB.optype. 7% 8% See also GrB/horzcat, GrB/cat, GrB.cell2mat, GrB/mat2cell, GrB/num2cell. 9 10% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. 11% SPDX-License-Identifier: GPL-3.0-or-later 12 13% get the input matrices 14nmatrices = length (varargin) ; 15for k = 1:nmatrices 16 Tile = varargin {k} ; 17 if (isobject (Tile)) 18 varargin {k} = Tile.opaque ; 19 end 20end 21 22% concatenate the matrices 23C = GrB (gbcat (varargin')) ; 24 25