Mercurial > hg > ltpda
comparison m-toolbox/classes/@unit/mtimes.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 % MTIMES implements mtimes operator for unit objects. | |
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
3 % | |
4 % DESCRIPTION: MTIMES implements mtimes operator for unit objects. | |
5 % | |
6 % CALL: a = a1*scalar | |
7 % a = a1*a2 | |
8 % | |
9 % VERSION: $Id: mtimes.m,v 1.4 2011/02/18 16:48:55 ingo Exp $ | |
10 % | |
11 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
12 | |
13 function v = mtimes(v1,v2) | |
14 | |
15 v = times(v1,v2); | |
16 | |
17 end |