Yoda's availability depends entirely on which console you own.
On Xbox 360 he is part of the roster from the start — no purchase, no unlock, just select him and play. On PlayStation 3 he is sold separately through the PlayStation Store, priced at £3.99 in the UK, and downloading him adds him to the character select screen.
The split exists because the two versions were built around different exclusives: the PS3 release shipped with Darth Vader instead, with Yoda offered as the paid extra.