The calculated distance (air line) between Hamamatsu and Matsumoto is approximately 107 miles respectively 172 kilometers.
By car or train, the actual journey to Matsumoto is certainly longer, as only the direct route (as the crow flies) between Hamamatsu and Matsumoto has been calculated here.