yes, there are several ways for doing it.
By understanding why you need it and what you want to do we could suggest you the best way.
For the moment I can tell you that there are 2 functions, one gives you the normal baseline given the SAR coordinates, and other one the incidence angle give the geographic coordinates:
Img’s are in the format ‘yyyymmdd’
before using them you have to load variables in matlab with the command “fast”
lat, lon, h (latitude, longitude, height) are the coordinates of the point where you want to calculate the incidence angle
Img is the image relative to the incidence angle you want to calculate
DirSite is the directory of your project
if you use sarproz in matlab, use the interface to load your project
then type “fast” and hit enter
the software will load in the workspace the variables you need
handles.SiteParam.DirSite (project directory)
Master (master image)
Img (list of all images)
Please be aware that you need a bit of familiarity with Matlab.
And this is not the place where to ask about it, find some local help.