Hello,
I am trying to perform simple array addition inside of my code but I am getting wrong answers because of the negative sign which is suppose to cancel out during the addition still remains in the final answer. can anyone please help.
a = 1.0879 0.0000 -0.0000 0.0000 0.0000 0.0000 -0.0000 0.1072b = -0.0879 -0.0000 0.0000 -0.0000 0.0000 -0.0000 0.0000 0.8928c = a+b
ans 1.0000 -0.0000 0.0000 -0.0000 0.0000 -0.0000 0.0000 1.0000
Best Answer