round_to_sigfig

rounds a number to a specified number of significant figures
237 Downloads
Updated Fri, 06 Dec 2013 19:12:04 +0000

View License

% A function to round val to sigfig significant figures. Trailing zeros to
% the right of the decimal point are not retained.

Cite As

Charlie Hogg (2024). round_to_sigfig (https://www.mathworks.com/matlabcentral/fileexchange/44618-round_to_sigfig), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on ROS Log Files and Transformations in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0