Preparation and electrical erosion resistance of TiB2/Cu nanocomposites