Measuring resistivity at the nanoscale requires specialized techniques due to the small dimensions involved. Methods such as four-point probe measurements, scanning tunneling microscopy (STM), and atomic force microscopy (AFM) are commonly used. These techniques allow for precise measurement of electrical properties at the nanometer scale.