No BSD License  

Highlights from
FIX2

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 558 Bytes File ID: #6076

FIX2

by Mukhtar Ullah

 

20 Oct 2004 (Updated 21 Oct 2004)

Round to a specified number of decimals towards zero.

| Watch this File

File Information
Description

% 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.

Acknowledgements
This submission has inspired the following:
Round to a Specified Number of Significant Digits
MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
21 Oct 2004 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

21 Oct 2004 Mukhtar Ullah

Now the description is correct!

Please login to add a comment or rating.
Updates
21 Oct 2004

robust to errors
Description corrected

Tag Activity for this File
Tag Applied By Date/Time
fix Mukhtar Ullah 22 Oct 2008 07:33:19
round Mukhtar Ullah 22 Oct 2008 07:33:19
decimal places Mukhtar Ullah 22 Oct 2008 07:33:20
arrays Mukhtar Ullah 22 Oct 2008 07:33:20

Contact us at files@mathworks.com