SEROUND: Round value and standard error

Input: value and associated standard error (or deviation) Output: string of rounded value +/- error
336 download
Aggiornato 25 feb 2012

Visualizza la licenza

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

Cita come

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

Compatibilità della release di MATLAB
Creato con R2011a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Characters and Strings in Help Center e MATLAB Answers
Riconoscimenti

Ispirato da: Order of magnitude of number

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0