現在この提出コンテンツをフォロー中です。
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます
Works just like num2str except will print with formatting in SI prefix notation and (optional) units and precision.
Works with arrays of numbers and (potentially) cell arrays of strings for the units, returning a cell array of strings.
Examples:
str = num2sci(165.48e-3) returns str = '165.5 m'
str = num2sci(165.48e-3,'V') returns str = '165.5 mV'
str = num2sci(165.48e-3,'mV') returns str = '165.5 uV'
str = num2sci(165.48e-3,3,'V') returns str = '165 mV'
str = num2sci([1.5 2.5],{'V','mA'}) returns str = {'1.5 V' '2.5 mA'}
引用
Jason Kaeding (2026). num2sci (https://jp.mathworks.com/matlabcentral/fileexchange/26827-num2sci), MATLAB Central File Exchange. に取得済み.
謝辞
ヒントを与えたファイル: Scientific Prefix to Number, Number to Scientific Prefix
| バージョン | 公開済み | リリース ノート | Action |
|---|---|---|---|
| 1.0.0.0 |
