Dataset repmat: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
(Importing text file)
 
imported>Jeremy
No edit summary
 
Line 2: Line 2:
Replicate and tile a DataSet object.
Replicate and tile a DataSet object.
===Synopsis===
===Synopsis===
B = repmat(A,M,N)  
:B = repmat(A,M,N)  
B = REPMAT(A,[M N])
:B = REPMAT(A,[M N])
B = REPMAT(A,[M N P ...])
:B = REPMAT(A,[M N P ...])
===Description===
===Description===
Overload of the Matlab command REPMAT for use with DataSet objects.
Overload of the Matlab command REPMAT for use with DataSet objects.
 
Returns the given DataSet object, A, concatenated M times vertically (rows) and N times horizontally (columns). This function can also be used to form n-dimensional matrices by passing a vector of length >2 as the second input to REPMAT.  
Returns the given DataSet object, A, concatenated M times vertically (rows) and N times horizontally (columns). This function can also be used to form n-dimensional matrices by passing a vector of length >2 as the second input to REPMAT.  
See the Matlab REPMAT command for more details on the operation of this function
See the Matlab REPMAT command for more details on the operation of this function
===See Also===
===See Also===
[[dataset/cat]]
[[dataset_cat]]

Latest revision as of 16:08, 8 October 2008

Purpose

Replicate and tile a DataSet object.

Synopsis

B = repmat(A,M,N)
B = REPMAT(A,[M N])
B = REPMAT(A,[M N P ...])

Description

Overload of the Matlab command REPMAT for use with DataSet objects.

Returns the given DataSet object, A, concatenated M times vertically (rows) and N times horizontally (columns). This function can also be used to form n-dimensional matrices by passing a vector of length >2 as the second input to REPMAT.

See the Matlab REPMAT command for more details on the operation of this function

See Also

dataset_cat