New to GUI. I have imported and read an xlsx file into a table. The data is latitude longitude roll pitch yaw and I have an equation that calculates EL AZ given t
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
New to ML and GUI. I have imported and read an xlsx file into a table. The data is latitude longitude roll pitch yaw and I have an equation that calculates EL AZ given two different longitudes and one latitude (respective to one of the longitudes). I don't know how to use the lat lon data from the table (form the imported xlsx file) and incorporate it into that equation over a time step outputing the results.
I'm sure this is not a well stated question and I apologize but I will happily accept any assistance.
This is what I have ::
CODE TO CREATE TABLE:
fileName='LLRPYT.xlsx';
xlsread(fileName);
t=readtable("LLRPYT.xlsx");
vars=["Lat","Lon","Roll","Pitch","Yaw","Time"];
t=t(1:61,vars);
fig=uifigure;
uit=uitable(fig,"Data",t,"Position",[100 100 850 800]);
%%CODE to hopefully take the data from that table and run it through this
%%equation over a time step and output AZ EL
%This is the equation, where lons is longitude of a hypothetical satellite
%and lonv is that of a vehicle, lats is latitude of satellite
atand((tand(lons-lonv))/(sind(lats)))
0 commentaires
Réponses (1)
Voir également
Catégories
En savoir plus sur CubeSat and Satellites dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!