The present submission is a direct application of the algorithm proposed by Wilczak et al.  to correct the wind components recorded by a sonic anemometer from tilt angles. It is compared to the double and triple rotation algorithm.
The present submission contains :
- 4 example files: Example_PF.m, Example_rot2.m and Example_rot3.m and Example_frictionVelocity.m
- The function tiltCorrection.m
- The function friction_velocity.m
- the .mat file data that include simulated wind data
The algorithm used here for the Planar Fit is the one directly used in . This is the second version of the submission. There may still exist some bugs. Any comment, question or suggestion to improve the algorithm is warmly welcomed.
 Wilczak, J. M., Oncley, S. P., & Stage, S. A. (2001). Sonic anemometer tilt correction algorithms. Boundary-Layer Meteorology, 99(1), 127-150.
typos + minor bug in rot2 and rot3
Additional and more detailed examples; the double and triple rotations are included; minor bug corrected.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.