Skip to content

tobyfishertoby/logipack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

logipack

The function takes a square logical matrix as input and returns a cell array of n elements where the kth element corresponds to the kth row of the matrix. Each element of the cell array is a row vector of positive integers in increasing order representing the column indexes of the logical true values in the given row of the matrix. All other elements in the given row of the logical matrix are false. Note that empty array elements of the cell array corresponding to rows with all false values have a size of 0x0.

About

Takes a square logical matrix and returns a cell array of n elements where the kth element corresponds to the kth row of the matrix.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 100.0%