Skip to Main Content Skip to Search
Product 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.

See Also

isboolean | isdouble | isfixed | isfloat | isscaleddouble | isscaledtype | isscalingbinarypoint | isscalingunspecified | issingle

  


Free Early Verification Kit

Learn how to apply early verification to your development process through these technical resources.

How much time do you spend on testing to ensure implementation meets system-level requirements?

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS