File Exchange

image thumbnail

FIX2

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

1 Download

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 .

Comments and Ratings (2)

Mukhtar Ullah

Now the description is correct!

Mukhtar Ullah

Sorry, the description is wrong: mistakenly I added the decription of round2.m
I have now updated the description that will appear after 2-3 days

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!