root/applications/bdmtoolbox/mex/RV.m @ 1174

Revision 944, 369 bytes (checked in by smidl, 14 years ago)

Doc + new examples

  • Property svn:eol-style set to native
Line 
1function r=RV(names,sizes,times);
2% create RV from cell of names, vector of sizes and vector of time delayes
3
4if nargin<1
5    names={};
6end
7r.class='RV';
8if isstr(names)
9    names = {names};
10end
11r.names=names;
12
13if nargin>1
14    r.sizes = sizes;
15else
16    r.sizes = ones(1,length(names));
17end
18if nargin>2
19    r.times = times;
20else
21    r.times = zeros(1,length(names));
22end
Note: See TracBrowser for help on using the browser.