how to transform coordinate from XYZ to VDH

Are there any matlab function/codes, that helps in conversion of XYZ coordinates to Vertical Dusk Horizontal (VDH) coordinates??

 Accepted Answer

A = rand(3,10) ; % xyz coordintes
th = 15 ;
R = [cosd(th) sind(th) 0 ; -sind(th) cosd(th) 0 ; 0 0 1] ;
V = R*A ; % VDH coordiantes

1 Comment

Yes, thank you @KSSV,
that is what exactly I was looking for.
BTW I was referring to the same link and got confused.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 10 Aug 2018

Commented:

on 10 Aug 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!