ryangray/matlab_uni​ts

A units library for MATLAB with multiple bases and double or unit object data types.
100 Downloads
Updated 13 Apr 2023

A units library based on a my style of having separate files for unit definitions, calling them as functions and they return multiplicative conversion factors from the unit give to the base units (SI by default) rather than a cluttered collection of separate unitXtoUnitY converters. For example, rather than 3*ft2m, you would just use 3*ft. If you then wanted to print a value in inches, rather than using x*m2inch, you would use x/inch. It has a function to support evaluating unit strings and handling temperatures.

Cite As

Ryan Gray (2024). ryangray/matlab_units (https://github.com/ryangray/matlab_units), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Numeric Types in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!

@unitval

cgs

english

siobj

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.