Navigation

This Page

The *_xy.mat and *_uv.mat files contained here use code like the following in matlab to turn the matrices into x,y,u,v,z:

  • VECTOR DATA (more averaging in time and vertical)
  • CONTOUR DATA (higher resolution in the time and vertical)

Example:

load os38_nbvect_uv.mat
load os38_nbvect_xy.mat

x=xyt(1,:)';
y=xyt(2,:)';
dday=xyt(3,:)';
u=uv(:,1:2:end);
v=uv(:,2:2:end);
%zc is center of depth bins

badi=find(isnan(x));
x(badi)=[];
y(badi)=[];
dday(badi)=[];
u(:,badi)=[];
v(:,badi)=[];