Hi Enrico,
I understand that you have generated a WGS84 ellipsoid and would now like to get the area for this.
You can try using the “wgs84Ellipsoid” function in MATLAB, which generated a reference ellipsoid for the WGS system of 1984. You can specify the “lengthUnit” parameter as input to the function to set the plotting unit and then use the “SurfaceArea” parameter to get the surface area and “Volume” parameter to get the volume of the ellipsoid.
Here is an example code:
% Plotting the WGS84 Ellipsoid in kilometers
wgs84 = wgs84Ellipsoid("kilometer");
surfarea = wgs84.SurfaceArea;
volume = wgs84.Volume;
For more information, please refer to the following documentation:
Hope this helps!
Best Regards,
Moksh Aggarwal