$ 0 0 The codes (C and matlab) are exactly same (operations wise) and same value of epsilon is used in both the codes. Still they give different output, what could be the reason for it.