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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | rowMin | true | If true, outputs row-wise minimum, otherwise column-wise |
| Integer | nRow | Number of rows in input matrix | |
| Integer | nCol | Number of columns in input matrix |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput[nRow,nCol] | u | Input for the matrix min function | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput[if rowMin then size(u, 1) else size(u, 2)] | y | Output with vector of row- or colum-wise minimum of the input matrix |
Revisions
-
May 17, 2019, by Milica Grahovac:
First implementation.