I want to write a SIMULINK model that calculates the position visible of satellites for the current time.
As input for the model I have the coordinates of a location, the current time and the ephemeris/TLE data of satellites.
As output I want the angle and the distance to the satellite, from the given location.
So far, I have found the SGP4 model which is able to calculate predictions, for positions using TLE data and I also found a Website that does what I need and even more. Unfortunately I can't find any information on how they calculate that.