Ascending Vs Descending

I want the altitude data, in addition to the latitdue and longitude data.

wouldn’t it be easier to terrain correct one of the products in SNAP and use “DEM” as an additional output?

PS do not necessarily lie on a DEM, many of the are in top of buildings for example.

right, like in this example - yet I understood “altitude data” as terrain information. Maybe @Oded can clarify. But I have no idea if the height of PS can be exported from Matlab and how.

Ok, so I want to create something like the example @ABraun shows.
mt_prep_snap create a hgt file as well as lonlat, and stamps(1,1) trasnlate it into a hgt.mat file, while the lanlot is stored in ps2.mat.
Do you think that the hgt.matbis what I need to create something like that example?

maybe this is something to ask in the official user group: https://groups.google.com/g/mainsar