Skip to content

Commit fb79bad

Browse files
author
Crouse
committed
Bug fixes.
1 parent 4bb4597 commit fb79bad

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Coordinate_Systems/ECEF2ENU.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
xENU(2,:)=sum(bsxfun(@times,uENU(:,2),origShiftPts),1);
8080
xENU(3,:)=sum(bsxfun(@times,uENU(:,3),origShiftPts),1);
8181

82-
if(nargin>1)
82+
if(nargout>1)
8383
M=uENU';
8484
end
8585
end

Coordinate_Systems/ECEFVec2ENUVec.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
vENU=zeros(3,N);
6969
vENU(1,:)=sum(bsxfun(@times,vECEF,uENU(:,1)),1);
7070
vENU(2,:)=sum(bsxfun(@times,vECEF,uENU(:,2)),1);
71-
vENU(2,:)=sum(bsxfun(@times,vECEF,uENU(:,3)),1);
71+
vENU(3,:)=sum(bsxfun(@times,vECEF,uENU(:,3)),1);
7272
end
7373
end
7474

0 commit comments

Comments
 (0)