Opened 8 years ago

Last modified 8 years ago

#688 closed bug

Bug in utility/rotate_vec.m — at Initial Version

Reported by: colucix Owned by: arango
Priority: minor Milestone: Matlab Processing Scripts
Component: Matlab Version: 3.7
Keywords: Cc:

Description

At lines 126:127 for 3D vector fields, we should have

        Vout(i,1:Mm)=-UatV(1,2:M ,:).*sin(Vangle(1,1:Mm,:))-          ...
                      Vinp(i,1:Mm,:).*cos(Vangle(1,1:Mm,:));

instead of

        Vout(i,1:Mm)=-UatV(1,2:M ).*sin(Vangle(1,1:Mm))-              ...
                      Vinp(i,1:Mm).*cos(Vangle(1,1:Mm));

This is for the rotation at the edges [1,L] of the vector field. Thank you.

Change History (0)

Note: See TracTickets for help on using tickets.