sci2num

バージョン 1.0.0.0 (1.51 KB) 作成者: Jason Kaeding
Converts a string with (possibly) an SI prefix to a number. Works in reverse of num2sci.
ダウンロード: 553
更新 2010/3/2

ライセンスの表示

Converts a string with (possibly) an SI prefix to a number. Works in reverse of num2sci. Works with cell arrays of strings also.

Examples:

num = sci2num('14.5 m') returns num = 0.0145
num = sci2num('14.5') returns num = 14.5
num = sci2num({'14.5m','85.2'}) returns num = [0.0145 85.2]

引用

Jason Kaeding (2026). sci2num (https://jp.mathworks.com/matlabcentral/fileexchange/26828-sci2num), MATLAB Central File Exchange. に取得済み.

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

ヒントを与えたファイル: Scientific Prefix to Number, Number to Scientific Prefix

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