Function Reference
— Function File: nextpow2 (x)

If x is a scalar, returns the first integer n such that

If x is a vector, return nextpow2 (length (x)).

See also: pow2