I'm trying to export the distance matrix below to an excel file. I have no interested on the unit. I just care the value of a distance. A standard export command does not work properly. How should I proceed?
Thanks
SelectedCities = {Entity[
"City", {"NewYork", "NewYork", "UnitedStates"}],
Entity["City", {"LosAngeles", "California", "UnitedStates"}],
Entity["City", {"Chicago", "Illinois", "UnitedStates"}],
Entity["City", {"Houston", "Texas", "UnitedStates"}],
Entity["City", {"Philadelphia", "Pennsylvania", "UnitedStates"}],
Entity["City", {"SanFrancisco", "California", "UnitedStates"}]};
CityNameList = #1 & @@@ Transpose[{CommonName@SelectedCities}];
MyDistanceMatrix = DistanceMatrix[GeoPosition[SelectedCities]];
Export["~/Desktop/InputFileChapter3.xlsx", MyDistanceMatrix, "XLSX"];