A novel electrochemical methodology for the growth of arrays of Ni and Co nanowires (NWs) with linear and non-linear varying micro-height gradient profiles (μHGPs), has been developed.