Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 9 months ago

FINDSEQ by Oleg Komarov

Find sequences of repeated (adjacent/consecutive) numeric values. NaNs and Infs are supported. (sequence, repeated, consecutive)

findseq(A,dim)

image thumbnail

updated 11 months ago

Trim leading/trailing repeated values by Oleg Komarov

Numeric vector/2D matrix. Trims leading, trailing or both sides; operates columnwise or row-wise. (trim, repeated, leading)

trimRepLT(In,dim,mode)

image thumbnail

updated 1 year ago

probOfStreak by Jeff Evans

Calculate the probability of a run or streak of K consecutive successes in N Bernoulli trials. (probability, combinatorics, run)

probOfStreak(N,K,p)

image thumbnail

updated 2 years ago

Consecutive Ones by Shreyes

Finds the number of consecutive ones in a binary signal. Returns the starting and ending points (arithmetic, optimization, statistics)

consecutive_ones(vector)

image thumbnail

updated 12 years ago

nconsecutive by Brett Shoelson

Returns a vector containing the maximum number of consecutive integers in each row of matrix x. (consecutive, vector, max)

nconsecutive(x)

Contact us