how to go from NED to ECI frame?

14 ビュー (過去 30 日間)
Khang Nguyen
Khang Nguyen 2021 年 2 月 21 日
コメント済み: Mehmet Ogulcan 2024 年 12 月 17 日
Hello! I am wondering how do you go from NED frame to ECI frame?
I got a NED frame from the WMM block but it say that the dimention of matrix multiplication is not complete.
also I got an error say that the built in fuction ecef2eci does't exist
function ECI = NEDtoECI(mu, l, NED)
DCM = [-sin(mu)*cos(l) -sin(mu)*sin(l) cos(mu) ; -sin(l) cos(l) 0 ; -cos(mu)*cos(l) -cos(mu)*sin(l) -sin(mu)];
dcmtran = DCM.';
ECEF = NED*dcmtran;
utc = [2019 1 4 12 0 0];
ECI = ecef2eci(utc,ECEF);
end
  7 件のコメント
Jonathan Gadiel Ramírez Martínez
Jonathan Gadiel Ramírez Martínez 2023 年 4 月 20 日
Oh I see, that makes sense Khang, thank you very much!
Mehmet Ogulcan
Mehmet Ogulcan 2024 年 12 月 17 日
Hello Jonathan,
Did you solved problem ? Do you have working code for transformation NED frame to ECI frame ?
Best regards,

サインインしてコメントする。

回答 (1 件)

Alan Moses
Alan Moses 2021 年 2 月 25 日
Hi Khang,
The “ecef2eci” is part of the set of functions that require the ‘Aerospace Blockset CubeSat Simulation Library’ Add-on support package. You could download this from the Add-ons manager.
Alternatively, you may also check out the function here in the MathWorks File Exchange.
Hope it helps!

Community Treasure Hunt

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

Start Hunting!

Translated by