SEROUND: Round value and standard error

Input: value and associated standard error (or deviation) Output: string of rounded value +/- error

Ahora está siguiendo esta publicación

SEROUND: Round value and standard error

First, se is rounded to 1 significant figure. Next,
x is rounded to the same significant figure as se.

Returns a string suitable for output using fprintf or
other tools. Also returns the rounded values if
desired.

Usage:
[s, xRound, seRound] = seround(x, se, [lim])
x: value to be rounded
se: standard error of x
lim: do not use scientific notation below this
order of magnitude (optional, default=2)

See also: ROUND, FLOOR, CEIL

Citar como

Andrew Davis (2026). SEROUND: Round value and standard error (https://es.mathworks.com/matlabcentral/fileexchange/35321-seround-round-value-and-standard-error), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspirado por: Order of magnitude of number

Categorías

Más información sobre Characters and Strings en Help Center y MATLAB Answers.

Información general

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