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

Revision 937, 369 bytes (checked in by smidl, 15 years ago)

matlab class extension for pdf

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