# Documentation of dirspeed2uv

Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)

## Function Synopsis

    [u,v]=dirspeed2uv(direction,speed)

## Help text

     Purpose: transform direction and speed vector coordinates into cartesian
     u, v coordinates

     Variables:
    	- direction: vector of directions in degres (North = 0) (needed)
    	- speed: vector of speeds (needed)
    	- u: vector of U coordinates
    	- v: vector of V coordinates

     Global variables: none

## Cross-Reference Information

| This function is called by
--- | ---
| heading_figure

Pierre-Michel THEVENY <theveny@dt.insu.cnrs.fr>