image thumbnail

FIX2

version 1.0.0.0 (440 Bytes) by Mukhtar Ullah
Round to a specified number of decimals towards zero.

2.5K Downloads

Updated 21 Oct 2004

No License

% FIX2(A) returns the same as FIX(A).
% Y = FIX2(A, N) fixes the elements of A to decimals specified in N.
%
% See also: FIX, FLOOR, CEIL, ROUND, ROUND2.

Cite As

Mukhtar Ullah (2021). FIX2 (https://www.mathworks.com/matlabcentral/fileexchange/6076-fix2), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!