Formation of a matter-wave bright soliton