yvelocity.m.html | ![]() |
Source file: yvelocity.m | |
Directory: /Users/rjl/git/rjleveque/clawpack-4.6.2/matlab | |
Converted: Wed May 30 2012 at 13:02:52 using clawcode2html | |
This documentation file will not reflect any later changes in the source file. |
function v = yvelocity(data) % % Compute the y-velocity from the data % for problems where the third component is the y-momentum and the % first component is the "density" (e.g. Euler, shallow water equations) v = data(:,3)./data(:,1);