SEROUND: Round value and standard error
版本 1.0.0.0 (1.7 KB) 作者:
Andrew Davis
Input: value and associated standard error (or deviation)
Output: string of rounded value +/- error
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
引用格式
Andrew Davis (2026). SEROUND: Round value and standard error (https://ww2.mathworks.cn/matlabcentral/fileexchange/35321-seround-round-value-and-standard-error), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2011a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Characters and Strings 的更多信息
标签
致谢
| 版本 | 已发布 | 发行说明 | |
|---|---|---|---|
| 1.0.0.0 |
