dash.posteriorCalculation.variance.outputSize

Return the size of the variance output


Syntax



Description

siz = obj.outputSize(nState, ~, nTime)

Returns the size of the output array for the posterior variance, which is nState x nTime.


Input Arguments

nState

scalar positive integer
The number of state vector elements for a Kalman filter.

nTime

scalar positive integer
The number of assimiltion time steps for a Kalman filter.

Output Arguments

siz

vector, positive integers [2]
The size of the output array. First element is nState, second element is nTime.