dash.posteriorCalculation.weightedMean.outputSize

Return the size of the output


Syntax



Description

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

Returns the size of the output array for a weighted mean calculated over ensemble members, which is nMembers x nTime


Input Arguments

nMembers

scalar positive integer
The number of ensemble members 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 nMembers, second element is nTime.