Documentation

isscalingslopebias

Determine whether input has nontrivial slope and bias scaling

Syntax

y = isscalingslopebias(a)
y = isscalingslopebias(T)

Description

y = isscalingslopebias(a) returns 1 when the fi object a has nontrivial slope and bias scaling, and 0 otherwise. Slope and bias scaling is trivial when the slope is an integer power of two and the bias is zero.

y = isscalingslopebias(T) returns 1 when the numerictype object T has nontrivial slope and bias scaling, and 0 otherwise. 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?