Documentation

isscalingbinarypoint

Determine whether input has binary point scaling

Syntax

y = isscalingbinarypoint(a)
y = isscalingbinarypoint(T)

Description

y = isscalingbinarypoint(a) returns 1 when the fi object a has binary point scaling or trivial slope and bias scaling. Otherwise, the function returns 0. Slope and bias scaling is trivial when the slope is an integer power of two and the bias is zero.

y = isscalingbinarypoint(T) returns 1 when the numerictype object T has binary point scaling or trivial slope and bias scaling. Otherwise, the function returns 0. Slope and bias scaling is trivial when the slope is an integer power of two and the bias is zero.

Introduced in R2010b

Was this topic helpful?