Upper-atmosphere rotational speed and its variation with height