cummin
- :
m =cummin(x)¶ - :
m =cummin(x, dim)¶ - :
[m, im] =cummin(…)¶ - :
… =cummin(…, "forward")¶ - :
… =cummin(…, "reverse")¶ - :
… =cummin(…, "omitnan")¶ - :
… =cummin(…, "includenan")¶ Return the running minimum along a dimension.
Element k of the result along dim (default: the first dimension that is not of length one) is the smallest of the first k elements. im gives the position where each running minimum was found, taking the first occurrence on ties. Direction is
"forward"(default) or"reverse". NaN values are skipped by default ("omitnan"/"omitmissing");"includenan"/"includemissing"make a NaN stick.