Unit Conversion

This function converts certain units of time, distance, speed, weight, and volume.

You are now following this Submission

Provide three inputs for the function. The first is the value you would like to convert. The second is the current units of that value, and the third is the units you would like to convert your value to. All inputs must be strings in order for the code to run properly. All conversion rates are based on Google's unit conversion machine, except for Cups to ml, which is based on a more accurate estimate than google provides.

Cite As

Haddon Baker (2022). Unit Conversion (https://www.mathworks.com/matlabcentral/fileexchange/<...>), MATLAB Central File Exchange.

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0