root/applications/bdmtoolbox/tutorial/userguide/RV.m
@
631
Revision 630, 298 bytes (checked in by smidl, 15 years ago) |
---|
Line | |
---|---|
1 | function r=RV(names,sizes,times); |
2 | % create RV from cell of names, vector of sizes and vector of time delayes |
3 | |
4 | r.class='RV'; |
5 | r.names=names; |
6 | |
7 | if nargin>1 |
8 | r.sizes = sizes; |
9 | else |
10 | r.sizes = ones(1,length(names)); |
11 | end |
12 | if nargin>2 |
13 | r.times = times; |
14 | else |
15 | r.times = zeros(1,length(names)); |
16 | end |
Note: See TracBrowser
for help on using the browser.