5 lines
		
	
	
		
			163 B
		
	
	
	
		
			Matlab
		
	
	
		
		
			
		
	
	
			5 lines
		
	
	
		
			163 B
		
	
	
	
		
			Matlab
		
	
	
| 
								 | 
							
								function bayesTree = thinBayesTree(depth, width)
							 | 
						||
| 
								 | 
							
								    import gtsam.*
							 | 
						||
| 
								 | 
							
								    bayesNet = thinTreeBayesNet(depth, width);
							 | 
						||
| 
								 | 
							
								    bayesTree = GaussianBayesTree(bayesNet);
							 | 
						||
| 
								 | 
							
								end
							 |