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.
example: reformats '10.3 +- .2' as '10.3(2)'.
usage: >> format_data(10.3,0.2)
ans = '10.3(2)'
Often, it is more compact to represent the uncertainty of a datum by placing the uncertainty in parentheses with the uncertainty understood to apply to the final digit(s) of the datum. This program achieves such formatting, properly accounting for the decimal point, where applicable. The output can be set in standard decimal, scientific, engineering or metric formats. For scientific or engineering, LaTeX formatting is also an option. The number of digits in the uncertainty is also an option (default = 1). If anyone has better suggestions on the name of this function or the title, please let me know!!
Citar como
Peter Mao (2026). Compact data uncertainty format (https://es.mathworks.com/matlabcentral/fileexchange/10148-compact-data-uncertainty-format), MATLAB Central File Exchange. Recuperado .
Información general
- Versión 1.0.0.0 (2,8 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.0.0.0 | Code updated to properly handle negative numbers. |
