round_to_sigfig
Version 1.0.0.0 (1.41 KB) by
Charlie Hogg
rounds a number to a specified number of significant figures
% 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 LinuxCategories
Find more on ROS Log Files and Transformations in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |