root/applications/bdmtoolbox/mex/RV.m
@
858
Revision 706, 339 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 | if isstr(names) |
6 | names = {names}; |
7 | end |
8 | r.names=names; |
9 | |
10 | if nargin>1 |
11 | r.sizes = sizes; |
12 | else |
13 | r.sizes = ones(1,length(names)); |
14 | end |
15 | if nargin>2 |
16 | r.times = times; |
17 | else |
18 | r.times = zeros(1,length(names)); |
19 | end |
Note: See TracBrowser
for help on using the browser.