blockMatrixMin

Output vector of row- or column-wise minimum values

Information

If rowMin = true, this block outputs the row-wise minimum of the input matrix u, otherwise it outputs the column-wise minimum of the input matrix u.

Parameters

TypeNameDefaultDescription
BooleanrowMintrueIf true, outputs row-wise minimum, otherwise column-wise
IntegernRowNumber of rows in input matrix
IntegernColNumber of columns in input matrix

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nRow,nCol]uInput for the matrix min function
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[if rowMin then size(u, 1) else size(u, 2)]yOutput with vector of row- or colum-wise minimum of the input matrix

Revisions

  • May 17, 2019, by Milica Grahovac:
    First implementation.