You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
Cite As
Andrew Davis (2026). SEROUND: Round value and standard error (https://uk.mathworks.com/matlabcentral/fileexchange/35321-seround-round-value-and-standard-error), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Order of magnitude of number
General Information
- Version 1.0.0.0 (1.67 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
