PIVMat Function Reference<< Prev | Next >> 
jpdfscal
Joint PDF of two scalar fields

Description
JPDF = jpdfscal(S1,S2) computes the joint PDF of the two scalar fields 
S1 and S2. 
JPDF = jpdfscal(S1,S2,BIN) specifies the number of bins over each 
direction (101 by default). 
 
JPDF is a structure containing the following variables 
  bin1, bin2:   bins used to compute the joint PDF for fields S1 and S2 
  hi:           matrix containing the joint PDF. 
  namew1, namew2:  name of the input scalar fields 
  unitw1, unitw2:  unit of the input scalar fields 
 
Use jpdfscal_disp to display the result. 
 
Example
 
   jpdf = jpdfscal(vec2scal(v,'rot'),vec2scal(v,'div')); 
   jpdfscal_disp(jpdf); 
 
See Also
jpdfscal_disp. 
Published output in the Help browser 
   showdemo jpdfscal 
 

 Previous: interpfNext: jpdfscal_disp 

2005-2021 PIVMat Toolbox 4.20