root/applications/bdmtoolbox/mex/RVtimes.m
@
1039
Revision 706, 299 bytes (checked in by smidl, 15 years ago) | |
---|---|
|
Line | |
---|---|
1 | function r=RVtimes(rvs,times) |
2 | % function r=RVtimes(rvs,times); |
3 | % assign times to given rvs |
4 | % The given rvs must have their sizes assigned!! |
5 | |
6 | r.class='RV'; |
7 | r.names={}; |
8 | r.sizes=[]; |
9 | for i=1:length(rvs) |
10 | r.names={r.names{:} rvs(i).names{:}}; |
11 | r.sizes=[r.sizes rvs(i).sizes]; |
12 | end |
13 | r.times = times; |
Note: See TracBrowser
for help on using the browser.