Code covered by the BSD License  

Highlights from
Units for Matlab

Units for Matlab

by

 

This package provides units conversion factors and enforces unit algebra for Matlab

test9.m
clear all
clc
u = cmu.unit.units;

a = [1 2 4 2]*u.nm;

max(a)

[y,i] = max(a)

b = 5*u.coul;
sqrt(b)

c = [1 2 3]*u.m
sqrt(c)


Contact us