When the Z ranking screen is displayed at the end of any episode, hold Select + Triangle + Square + X. Release the buttons, then press Up or Down to change the Z rank.
Back when I was in elementary and middle school (think late ‘90s and early 2000s), Dragon Ball Z was my favorite show. While I still consider it to be one of the best animated series ever made ...