Navigation Bar WOCEMET Home DAC Surface Met Data SAC Surface Flux Data WOCEMET Documentation WOCEMET Web Site Updates

MATLAB Codes for True Winds

These files contain a routine which will compute meteorological true winds (direction from which wind is blowing, relative to true north; and speed relative to the fixed earth) when given a set of five arrays of equal length and the zero-line reference (zlr).

"hd" --the direction the bow of the vessel is pointing (heading -- referenced to true north)
"crse" --the course toward which each vessel is moving over the ground
"cspd" --the speed of each vessel over the ground
"wdir" --the wind direction measured by the anemometer (referenced to the zlr on the ship)
"wspd" --the wind speed measured by anemometer

The following files can be downloaded in the tar file MATLAB-codes.tar. To view each file individually you may click on the filename in the table.




Routine that calculates true winds


Tests "". To run, see below.


Results of test procedure. Output should resemble this file

To compile and run the test program for 'truew.m', in MATLAB run the test function,
or on your shell type the command matlab to open up matlab and run the test function by typing:

Any questions regarding the any of the above information should be sent to:

Return to main True Winds Page