Difference between revisions of "Cell/blkdiag.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     C=blkdiag(A,B)
 
     C=blkdiag(A,B)
  
−
==Arguments==
+
==Parameters==
  
 
     A,B - cell arrays
 
     A,B - cell arrays

Revision as of 17:47, 5 June 2026

Block-diagonal cell array from two cell arrays, all other elements are set to empty cells.

Syntax

    C=blkdiag(A,B)

Parameters

    A,B - cell arrays

Outputs

    C   - cell array

See also

Appendix_H:_Matlab_object_overloads

Version 2.11, authors: Ilya Kuprov