What is the unit of distance in MATLAB

6 views (last 30 days)
What is the unit of distance between two points such as (1,1) and (40,40) in MATLAB plot.
  4 Comments
Adam Danz
Adam Danz on 10 Feb 2020
Edited: Adam Danz on 10 Feb 2020
Distance units match the units of your x and y axes which you define. If your data are in centimeters, then the distance is in centimeters. If your data are in meters, the distance is in meters, and so on.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 10 Feb 2020
The unit of distance used by MATLAB is the MUD, which stands for Mathworks Universal Distance. The formal symbol for MUD is ? but it is mostly omitted as being understood.
  2 Comments
Adam Danz
Adam Danz on 10 Feb 2020
:D
Walter just made me google "Mathworks Universal Distance".

Sign in to comment.

Categories

Find more on Testing Frameworks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!