Documentation Center

  • Trial Software
  • Product Updates

Functions in Fixed-Point Designer

By Category | Alphabetical List

abs Absolute value of fi object
accumneg Subtract two fi objects or values
accumpos Add two fi objects or values
add Add two objects using fimath object
all Determine whether all array elements are nonzero
and Find logical AND of array or scalar inputs
any Determine whether any array elements are nonzero
area Create filled area 2-D plot
assignmentquantizer Assignment quantizer object of fi object
atan2 Four-quadrant inverse tangent of fixed-point values
autofixexp Automatically change scaling of fixed-point data types
bar Create vertical bar graph
barh Create horizontal bar graph
bin Binary representation of stored integer of fi object
bin2num Convert two's complement binary string to number using quantizer object
bitand Bitwise AND of two fi objects
bitandreduce Reduce consecutive slice of bits to one bit by performing bitwise AND operation
bitcmp Bitwise complement of fi object
bitconcat Concatenate bits of fi objects
bitget Get bits at certain positions
bitor Bitwise OR of two fi objects
bitorreduce Reduce consecutive slice of bits to one bit by performing bitwise OR operation
bitreplicate Replicate and concatenate bits of fi object
bitrol Bitwise rotate left
bitror Bitwise rotate right
bitset Set bits at certain positions
bitshift Shift bits specified number of places
bitsliceget Get consecutive slice of bits
bitsll Bit shift left logical
bitsra Bit shift right arithmetic
bitsrl Bit shift right logical
bitxor Bitwise exclusive OR of two fi objects
bitxorreduce Reduce consecutive slice of bits to one bit by performing bitwise exclusive OR operation
buffer Buffer signal vector into matrix of data frames
buildInstrumentedMex Generate compiled C code function including logging instrumentation
cast Cast variable to different data type
ceil Round toward positive infinity
clabel Create contour plot elevation labels
clearInstrumentationResults Clear results logged by instrumented, compiled C code function
coder.ArrayType Represent set of MATLAB arrays
coder.Constant Represent set containing one MATLAB value
coder.EnumType Represent set of MATLAB enumerations
coder.FiType Represent set of MATLAB fixed-point arrays
coder.MexConfig Code acceleration configuration object for use with fiaccel
coder.PrimitiveType Represent set of logical, numeric, or char arrays
coder.StructType Represent set of MATLAB structure arrays
coder.Type Represent set of MATLAB values
coder.allowpcode Control code generation from protected MATLAB files
coder.const Fold expressions into constants in generated code
coder.cstructname Specify structure name in generated code
coder.extrinsic Declare extrinsic function or functions
coder.inline Control inlining in generated code
coder.load Load compile-time constants from MAT-file or ASCII file into caller workspace
coder.mexconfig Code acceleration configuration object
coder.newtype Create a new coder.Type object
coder.nullcopy Declare uninitialized variables
coder.resize Resize a coder.Type object
coder.screener Determine if function is suitable for code generation
coder.target Determine if code generation target is specified target
coder.typeof Convert MATLAB value into its canonical type
coder.unroll Copy body of for-loop in generated code for each iteration
coder.varsize Declare variable-size data
colon Create vectors, array subscripting
comet Create 2-D comet plot
comet3 Create 3-D comet plot
compass Plot arrows emanating from origin
complex Construct complex fi object from real and imaginary parts
coneplot Plot velocity vectors as cones in 3-D vector field
conj Complex conjugate of fi object
contour Create contour graph of matrix
contour3 Create 3-D contour plot
contourc Create two-level contour plot computation
contourf Create filled 2-D contour plot
conv Convolution and polynomial multiplication of fi objects
convergent Round toward nearest integer with ties rounding to nearest even integer
copyobj Make independent copy of quantizer object
cordicabs CORDIC-based absolute value
cordicangle CORDIC-based phase angle
cordicatan2 CORDIC-based four quadrant inverse tangent
cordiccart2pol CORDIC-based approximation of Cartesian-to-polar conversion
cordiccexp CORDIC-based approximation of complex exponential
cordiccos CORDIC-based approximation of cosine
cordicpol2cart CORDIC-based approximation of polar-to-Cartesian conversion
cordicrotate Rotate input using CORDIC-based approximation
cordicsin CORDIC-based approximation of sine
cordicsincos CORDIC-based approximation of sine and cosine
cordicsqrt CORDIC-based approximation of square root
cos Cosine of fi object
ctranspose Complex conjugate transpose of fi object
dec Unsigned decimal representation of stored integer of fi object
denormalmax Largest denormalized quantized number for quantizer object
denormalmin Smallest denormalized quantized number for quantizer object
diag Diagonal matrices or diagonals of matrix
disp Display object
divide Divide two objects
double Double-precision floating-point real-world value of fi object
embedded.fi Fixed-point numeric object
embedded.fimath fimath object
embedded.numerictype numerictype object
end Last index of array
eps Quantized relative accuracy for fi or quantizer objects
eq Determine whether real-world values of two fi objects are equal
errmean Mean of quantization error
errorbar Plot error bars along curve
errpdf Probability density function of quantization error
errvar Variance of quantization error
etreeplot Plot elimination tree
exponentbias Exponent bias for quantizer object
exponentlength Exponent length of quantizer object
exponentmax Maximum exponent for quantizer object
exponentmin Minimum exponent for quantizer object
ezcontour Easy-to-use contour plotter
ezcontourf Easy-to-use filled contour plotter
ezmesh Easy-to-use 3-D mesh plotter
ezplot Easy-to-use function plotter
ezplot3 Easy-to-use 3-D parametric curve plotter
ezpolar Easy-to-use polar coordinate plotter
ezsurf Easy-to-use 3-D colored surface plotter
ezsurfc Easy-to-use combination surface/contour plotter
feather Plot velocity vectors
fi Construct fixed-point numeric object
fiaccel Accelerate fixed-point code
filter One-dimensional digital filter of fi objects
fimath Set fixed-point math settings
fipref Set fixed-point preferences
fix Round toward zero
fixed.aggregateType Compute aggregate numerictype
fixed.Quantizer Quantize fixed-point numbers
fixpt_instrument_purge Remove corrupt fixed-point instrumentation from model
flip Flip order of elements
flipdim Flip array along specified dimension
fliplr Flip matrix left to right
flipud Flip matrix up to down
floor Round toward negative infinity
fplot Plot function between specified limits
fractionlength Fraction length of quantizer object
ge Determine whether real-world value of one fi object is greater than or equal to another
get Property values of object
getlsb Least significant bit
getmsb Most significant bit
globalfimath Configure global fimath and return handle object
gplot Plot set of nodes using adjacency matrix
gt Determine whether real-world value of one fi object is greater than another
hankel Hankel matrix
hdlram Single, simple dual, or dual-port RAM for memory read/write access
hex Hexadecimal representation of stored integer of fi object
hex2num Convert hexadecimal string to number using quantizer object
hist Create histogram plot
histc Histogram count
horzcat Horizontally concatenate multiple fi objects
imag Imaginary part of complex number
innerprodintbits Number of integer bits needed for fixed-point inner product
int16 Convert fi object to signed 16-bit integer
int32 Convert fi object to signed 32-bit integer
int64 Convert fi object to signed 64-bit integer
int8 Convert fi object to signed 8-bit integer
intmax Largest positive stored integer value representable by numerictype of fi object
intmin Smallest stored integer value representable by numerictype of fi object
ipermute Inverse permute dimensions of multidimensional array
isboolean Determine whether input is Boolean
iscolumn Determine whether fi object is column vector
isdouble Determine whether input is double-precision data type
isempty Determine whether array is empty
isequal Determine whether real-world values of two fi objects are equal, or determine whether properties of two fimath, numerictype, or quantizer objects are equal
isequivalent Determine if two numerictype objects have equivalent properties
isfi Determine whether variable is fi object
isfimath Determine whether variable is fimath object
isfimathlocal Determine whether fi object has local fimath
isfinite Determine whether array elements are finite
isfipref Determine whether input is fipref object
isfixed Determine whether input is fixed-point data type
isfloat Determine whether input is floating-point data type
isinf Determine whether array elements are infinite
isnan Determine whether array elements are NaN
isnumeric Determine whether input is numeric array
isnumerictype Determine whether input is numerictype object
isobject Determine whether input is MATLAB object
ispropequal Determine whether properties of two fi objects are equal
isquantizer Determine whether input is quantizer object
isreal Determine whether array elements are real
isrow Determine whether fi object is row vector
isscalar Determine whether input is scalar
isscaleddouble Determine whether input is scaled double data type
isscaledtype Determine whether input is fixed-point or scaled double data type
isscalingbinarypoint Determine whether input has binary point scaling
isscalingslopebias Determine whether input has nontrivial slope and bias scaling
isscalingunspecified Determine whether input has unspecified scaling
issigned Determine whether fi object is signed
issingle Determine whether input is single-precision data type
isslopebiasscaled Determine whether numerictype object has nontrivial slope and bias
isvector Determine whether input is vector
le Determine whether real-world value of fi object is less than or equal to another
length Vector length
line Create line object
logical Convert numeric values to logical
loglog Create log-log scale plot
logreport Quantization report
lowerbound Lower bound of range of fi object
lsb Scaling of least significant bit of fi object, or value of least significant bit of quantizer object
lt Determine whether real-world value of one fi object is less than another
max Largest element in array of fi objects
maxlog Log maximums
mean Average or mean value of fixed-point array
median Median value of fixed-point array
mesh Create mesh plot
meshc Create mesh plot with contour plot
meshz Create mesh plot with curtain plot
min Smallest element in array of fi objects
minlog Log minimums
minus Matrix difference between fi objects
mod Modulus after division for fi objects
mpower Fixed-point matrix power (^)
mpy Multiply two objects using fimath object
mrdivide Forward slash (/) or right-matrix division
mtimes Matrix product of fi objects
ndgrid Generate arrays for N-D functions and interpolation
ndims Number of array dimensions
ne Determine whether real-world values of two fi objects are not equal
nearest Round toward nearest integer with ties rounding toward positive infinity
noperations Number of operations
not Find logical NOT of array or scalar input
noverflows Number of overflows
nts Determine fixed-point data type
num2bin Convert number to binary string using quantizer object
num2hex Convert number to hexadecimal equivalent using quantizer object
num2int Convert number to signed integer
numberofelements Number of data elements in an array
numel Number of data elements in fi array
numerictype Construct numerictype object
NumericTypeScope Determine fixed-point data type
nunderflows Number of underflows
oct Octal representation of stored integer of fi object
ones Create array of all ones with fixed-point properties
or Find logical OR of array or scalar inputs
patch Create patch graphics object
pcolor Create pseudocolor plot
permute Rearrange dimensions of multidimensional array
plot Create linear 2-D plot
plot3 Create 3-D line plot
plotmatrix Draw scatter plots
plotyy Create graph with y-axes on right and left sides
plus Matrix sum of fi objects
polar Plot polar coordinates
pow2 Efficient fixed-point multiplication by 2K
power Fixed-point array power (.^)
qr Orthogonal-triangular decomposition
quantize Quantize fixed-point numbers
quantize method Apply quantizer object to data
quantizer Construct quantizer object
quiver Create quiver or velocity plot
quiver3 Create 3-D quiver or velocity plot
randquant Generate uniformly distributed, quantized random number using quantizer object
range Numerical range of fi or quantizer object
rdivide Right-array division (./)
real Real part of complex number
realmax Largest positive fixed-point value or quantized number
realmin Smallest positive normalized fixed-point value or quantized number
reinterpretcast Convert fixed-point data types without changing underlying data
removefimath Remove fimath object from fi object
removeglobalfimathpref Remove global fimath preference
repmat Replicate and tile array
rescale Change scaling of fi object
reset Reset objects to initial conditions
resetglobalfimath Set global fimath to MATLAB factory default
resetlog Clear log for fi or quantizer object
reshape Reshape array
rgbplot Plot colormap
ribbon Create ribbon plot
rose Create angle histogram
round Round fi object toward nearest integer or round input data using quantizer object
savefipref Save fi preferences for next MATLAB session
scatter Create scatter or bubble plot
scatter3 Create 3-D scatter or bubble plot
sdec Signed decimal representation of stored integer of fi object
semilogx Create semilogarithmic plot with logarithmic x-axis
semilogy Create semilogarithmic plot with logarithmic y-axis
set Set or display property values for quantizer objects
setfimath Attach fimath object to fi object
sfi Construct signed fixed-point numeric object
shiftdata Shift data to operate on specified dimension
shiftdim Shift dimensions
showfixptsimerrors Show overflows from most recent fixed-point simulation
showfixptsimranges Show logged maximum values, minimum values, and overflow data from fixed-point simulation
showInstrumentationResults Results logged by instrumented, compiled C code function
sign Perform signum function on array
sin Sine of fixed-point values
single Single-precision floating-point real-world value of fi object
size Array dimensions
slice Create volumetric slice plot
sort Sort elements of real-valued fi object in ascending or descending order
spy Visualize sparsity pattern
sqrt Square root of fi object
squeeze Remove singleton dimensions
ssFxpConvert Convert value from one data type to another
ssFxpConvertFromRealWorldValue Convert value of data type double to another data type
ssFxpConvertToRealWorldValue Convert value of any data type to double
ssFxpGetU32BitRegion Return stored integer value for 32-bit region of real, scalar signal element
ssFxpGetU32BitRegionCompliant Determine whether S-function is compliant with the U32 bit region interface
ssFxpSetU32BitRegion Set stored integer value for 32-bit region of real, scalar signal element
ssFxpSetU32BitRegionCompliant Declare compliance with the U32 bit region interface for fixed-point data types with 33 or more bits
ssGetDataTypeBias Return bias of registered data type
ssGetDataTypeFixedExponent Return exponent of slope of registered data type
ssGetDataTypeFracSlope Return fractional slope of registered data type
ssGetDataTypeFractionLength Return fraction length of registered data type with power-of-two scaling
ssGetDataTypeFxpContainWordLen Return word length of storage container of registered data type
ssGetDataTypeFxpIsSigned Determine whether fixed-point registered data type is signed or unsigned
ssGetDataTypeFxpWordLength Return word length of fixed-point registered data type
ssGetDataTypeIsFixedPoint Determine whether registered data type is fixed-point data type
ssGetDataTypeIsFloatingPoint Determine whether registered data type is floating-point data type
ssGetDataTypeIsFxpFltApiCompat Determine whether registered data type is supported by API for user-written fixed-point S-functions
ssGetDataTypeIsScalingPow2 Determine whether registered data type has power-of-two scaling
ssGetDataTypeIsScalingTrivial Determine whether scaling of registered data type is slope = 1, bias = 0
ssGetDataTypeNumberOfChunks Return number of chunks in multiword storage container of registered data type
ssGetDataTypeStorageContainCat Return storage container category of registered data type
ssGetDataTypeStorageContainerSize Return storage container size of registered data type
ssGetDataTypeTotalSlope Return total slope of scaling of registered data type
ssLogFixptInstrumentation Record information collected during simulation
ssRegisterDataTypeFxpBinaryPoint Register fixed-point data type with binary-point-only scaling and return its data type ID
ssRegisterDataTypeFxpFSlopeFixExpBias Register fixed-point data type with [Slope Bias] scaling specified in terms of fractional slope, fixed exponent, and bias, and return its data type ID
ssRegisterDataTypeFxpScaledDouble Register scaled double data type with [Slope Bias] scaling specified in terms of fractional slope, fixed exponent, and bias, and return its data type ID
ssRegisterDataTypeFxpSlopeBias Register data type with [Slope Bias] scaling and return its data type ID
stairs Create stairstep graph
stem Plot discrete sequence data
stem3 Plot 3-D discrete sequence data
storedInteger Stored integer value of fi object
storedIntegerToDouble Convert stored integer value of fi object to built-in double value
streamribbon Create 3-D stream ribbon plot
streamslice Draw streamlines in slice planes
streamtube Create 3-D stream tube plot
stripscaling Stored integer of fi object
sub Subtract two objects using fimath object
subsasgn Subscripted assignment
subsref Subscripted reference
sum Sum of array elements
surf Create 3-D shaded surface plot
surfc Create 3-D shaded surface plot with contour plot
surfl Create surface plot with colormap-based lighting
surfnorm Compute and display 3-D surface normals
text Create text object in current axes
times Element-by-element multiplication of fi objects
toeplitz Create Toeplitz matrix
tostring Convert numerictype or quantizer object to string
transpose Transpose operation
treeplot Plot picture of tree
tril Lower triangular part of matrix
trimesh Create triangular mesh plot
triplot Create 2-D triangular plot
trisurf Create triangular surface plot
triu Upper triangular part of matrix
ufi Construct unsigned fixed-point numeric object
uint16 Convert fi object to unsigned 16-bit integer
uint32 Stored integer value of fi object as built-in uint32
uint64 Convert fi object to unsigned 64-bit integer
uint8 Convert fi object to unsigned 8-bit integer
uminus Negate elements of fi object array
unitquantize Quantize except numbers within eps of +1
unitquantizer Constructor for unitquantizer object
unshiftdata Inverse of shiftdata
uplus Unary plus
upperbound Upper bound of range of fi object
vertcat Vertically concatenate multiple fi objects
voronoi Create Voronoi diagram
voronoin Create n-D Voronoi diagram
waterfall Create waterfall plot
wordlength Word length of quantizer object
xlim Set or query x-axis limits
xor Logical exclusive-OR
ylim Set or query y-axis limits
zeros Create array of all zeros with fixed-point properties
zlim Set or query z-axis limits
Was this topic helpful?