Changeset 569 for applications/bdmtoolbox/tutorial
- Timestamp:
- 08/20/09 00:54:47 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/tutorial/merging/merge_grid.m
r568 r569 48 48 49 49 % 2D support 50 type= 0;50 type=1; 51 51 if type==0 52 52 support2.class='rectangular_support'; … … 54 54 support2.gridsizes=[10,10]; 55 55 else 56 support2 =struct('pdf',...57 struct('class','enorm<ldmat>','mu',[1,2],'R',[2 0; 0 2]));58 support2.n samples=[100];56 support2.class='discrete_support'; 57 support2.epdf= struct('class','enorm<ldmat>','mu',[1,2],'R',[2 0; 0 2]); 58 support2.npoints=[100]; 59 59 end 60 60 … … 63 63 64 64 if type==0 65 X=zeros(support2. nbins(1));66 Y=zeros(support2. nbins(1));67 Z=zeros(support2. nbins(1));65 X=zeros(support2.gridsizes(1)); 66 Y=zeros(support2.gridsizes(1)); 67 Z=zeros(support2.gridsizes(1)); 68 68 69 69 X(:)=vy2.support(1,:);