P — Exponent of next higher power of 2 scalar | vector | N-dimensional array
Exponent of next higher power of 2, returned as a scalar, vector, or
N-dimensional array.
The output is returned as an unsigned fi object with binary-point
scaling, a fraction length of zero, and the smallest word length which can represent the
value of the largest returned exponent.
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
Slope-bias representation is not supported for code generation.
Fixed-Point Conversion Design and simulate fixed-point systems using Fixed-Point Designer™.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.