SEROUND: Round value and standard error

バージョン 1.0.0.0 (1.67 KB) 作成者: Andrew Davis
Input: value and associated standard error (or deviation) Output: string of rounded value +/- error
ダウンロード: 336
更新 2012/2/25

ライセンスの表示

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 (2024). SEROUND: Round value and standard error (https://www.mathworks.com/matlabcentral/fileexchange/35321-seround-round-value-and-standard-error), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2011a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCharacters and Strings についてさらに検索
謝辞

ヒントを得たファイル: Order of magnitude of number

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0