num2eng

Convert numbers to engineering notation strings, or use SI-prefixes instead. Offers extensive customisation. Also works on axes tick labels.

다운로드
다운로드

이 제출물을 팔로우합니다

인용 양식

Harry Dymond (2020). num2eng (https://www.mathworks.com/matlabcentral/fileexchange/67740), MATLAB Central File Exchange.

카테고리

Help Center 및 MATLAB Answers에서 Characters and Strings에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • R2014b 이상 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
7.0.0

Added support for SI prefixes Q (quetta, 10^30), R (ronna, 10^27), r (ronto, 10^-27), and q (quecto, 10^-30)

다운로드
6.1.1

Fixed bug where input number of 0 could sometimes give an output of '-0'

다운로드
6.1.0

Improved error handling/reporting

다운로드
6.0.0

Added the useComma option

다운로드
5.8.2

-- Fixed bug in get_datacursor_manager subroutine
-- Fixed bug that occurs if num2eng is called on a set of axes that are part of a GUI rather than a "normal" MATLAB figure window
-- Improved error reporting

다운로드
5.8.1

Fixed bugs in save routine for figures that have been processed by num2eng

다운로드
5.8.0

-- Datatips now formatted to use same font as that specified for the parent axes of the line on which the datatip appears
-- Mechanism added to recreate listeners when a figure, which has been processed by num2eng and saved as a .fig, is reopened

다운로드
5.7.4

Documentation update

다운로드
5.7.3

Documentation update

다운로드
5.7.2

Documentation fixes

다운로드
5.7.1

Minor performance tweaks

다운로드
5.7.0

- Datatips formatted with units, if supplied
- Existing datatips are updated when axes are processed
- Improved handling of multi-letter unit abbreviations (e.g. "Hz") - it's no longer necessary to set option "noPlural" when using such units

다운로드
5.6.0

Added custom data-tip formatting for axes that are processed by num2eng

다운로드
5.5.0

-- Fixed bug with handling non-double numeric inputs (e.g. integer data types): these are now converted to double before processing

다운로드
5.4.0

Options trailZeros and expForce are now respected when input number is zero

다운로드
5.3.1

Improved documentation

다운로드
5.3.0

Added workaround for MATLAB memory-leak bug related to listener lifecycle

다운로드
5.2.0

Can now handle arrays of figure handles

다운로드
5.1.0

Added support for colorbars

다운로드
5.0.1

Documentation fix

다운로드
5.0.0

Can now process axes tick labels directly. Creates listeners to keep tick labels up-to-date if the ticks are changed.

다운로드
3.3.0

- Added options capE, smallCapE, and fracMant
- Other minor code clean-ups as noted in the m file

다운로드
3.0.0

- Added options noExp4Tenths, expWidth, expSign, expForce, unit, and noPlural. (only available with optionStruct call syntax).
- Other minor changes as detailed in the.m file

다운로드
2.2.0

- Infinite inputs now return strings with Inf correctly capitalised.
- Added the "useInf" option. NOTE: This is now option 7, meaning trailZeros, pad, and cellOutput have "moved". Code using these options with syntax 1 will have to be updated.

다운로드
2.1.0

- Now uses repmat to generate space padding (no change in functionality; code just easier to read)
- Updated compatibility

다운로드
2.0.2

Documentation update

다운로드
2.0.1

Documentation fix

다운로드
2.0.0

- New trailZeros, pad, and cellOutput options.
- Optional alternative call syntax where options are passed in a structure instead of list.
- Function remains backwards compatible with existing code.
- See m file for full list of changes.

다운로드
1.1.4

- Reverted to using U+03BC (greek letter mu) for micro character.
- Added commas to code as suggested by the code parser in MATLAB 2018. This will result in versions prior to this suggesting that the commas can/should be removed.

다운로드
1.1.3

If input number is minus infinity, the useMinus option is now respected

다운로드
1.1.2

Minor code cleanup (no changes in functionality)

다운로드
1.1.1

Changed icon

다운로드
1.1.0

Added the option to use the true minus character (U+2212) in returned strings. The new option is added in such a way that the function will remain backwards compatible - code using earlier versions of num2eng does not need to be changed.

다운로드
1.0.6

function input no longer uses varargin, to make function hints more useful. Inputs 2 to 6 remain optional.

다운로드
1.0.4

Function should no longer require the Image Processing Toolbox

다운로드
1.0.3

Option "fullName" now overrides option "useMu"
If input is a column vector, output will now be a column vector of cells instead of a row vector of cells

다운로드
1.0.2

Updated description

다운로드
1.0.1

Updated description

다운로드
1.0.0

다운로드