mirror of
				https://github.com/RangeNetworks/openbts.git
				synced 2025-10-30 19:33:33 +00:00 
			
		
		
		
	git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6168 19bc5d8c-e614-43d4-8b26-e1612bc8e597
		
			
				
	
	
		
			16 lines
		
	
	
		
			266 B
		
	
	
	
		
			Matlab
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			266 B
		
	
	
	
		
			Matlab
		
	
	
	
	
	
| pp = [0 0 0.015 0.18 0.7 0.96 0.7 0.18 0.015 0 0];
 | |
| t = -2.5:0.5:2.5;
 | |
| 
 | |
| v = -0.000:-0.001:-1.999;
 | |
| 
 | |
| 
 | |
| for ix1 = 1:length(v),
 | |
| 	    disp(ix1);
 | |
|  for ix2 = 1:length(v),
 | |
|   p = exp(v(ix1)*t.^2+v(ix2)*t.^4);
 | |
|   r(ix1,ix2) = norm(p./max(abs(p)) - pp./max(abs(pp)));
 | |
|  end;
 | |
| end;
 | |
| 
 | |
| 
 |