how to go from NED to ECI frame?
83 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Khang Nguyen
am 21 Feb. 2021
Kommentiert: Jonathan Gadiel Ramírez Martínez
am 20 Apr. 2023
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
6 Kommentare
Jonathan Gadiel Ramírez Martínez
am 20 Apr. 2023
Oh I see, that makes sense Khang, thank you very much!
Antworten (1)
Alan Moses
am 25 Feb. 2021
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.
Hope it helps!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Axes Transformations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!