Round with significant digits
Rounds towards the nearest number with N significant digits.
Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Nota del editor: This file was selected as MATLAB Central Pick of the Week
Citar como
François Beauducel (2026). Round with significant digits (https://es.mathworks.com/matlabcentral/fileexchange/26212-round-with-significant-digits), MATLAB Central File Exchange. Recuperado .
Agradecimientos
Inspirado por: Round to a Specified Number of Significant Digits
Inspiración para: RADIOMICS
Información general
- Versión (2,49 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
| Versión | Publicado | Notas de la versión | Action |
|---|---|---|---|
| 1.6.0 | fix a problem with vectors with negative and positive exponent values (problem since the last update only). |
||
| 1.5.0 | solve the floating point arithmetic problem with roundsd(3.55,2) pointed out by Will and Yuri K. |
||
| 1.3.0 | - adds different methods for rounding;
|
||
| 1.2.0 | works with negative numbers. |
||
| 1.1.0 | works with negative numbers. |
||
| 1.0.0 |