Mercurial > hg > ltpda
comparison m-toolbox/test/test_plist_combine.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 function test_plist_combine() | |
2 | |
3 % Test the combine function of plist class. | |
4 % | |
5 % M Hewitson 28-04-07 | |
6 % | |
7 % $Id: test_plist_combine.m,v 1.1 2007/04/28 07:50:46 hewitson Exp $ | |
8 % | |
9 | |
10 % Make some parameters | |
11 | |
12 p1 = param('a', 1); | |
13 p2 = param('b', 2); | |
14 p3 = param('c', 3); | |
15 p4 = param('a', 4); | |
16 | |
17 % make plists | |
18 pl1 = plist([p1 p2]); | |
19 pl2 = plist(p3); | |
20 pl3 = plist([p2 p4]); | |
21 | |
22 % combine | |
23 pl = combine(pl1, pl2, pl3) | |
24 | |
25 % END |