The given figure shows a quadrilateral ABCD in which AD = 13 cm, DC = 12 cm, BC = 3 cm and ∠ABD=∠BCD=90∘. Then the length of AB is ____.