root/applications/bdmtoolbox/tutorial/userguide/RVtimes.m @ 642

Revision 630, 299 bytes (checked in by smidl, 15 years ago)

Tutorial update + new .m files

Line 
1function 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
6r.class='RV';
7r.names={};
8r.sizes=[];
9for i=1:length(rvs)
10    r.names={r.names{:} rvs(i).names{:}};
11    r.sizes=[r.sizes rvs(i).sizes];
12end
13r.times = times;
Note: See TracBrowser for help on using the browser.