Hi! I have a small project requiring programming in MATLAB. While debugging, I noticed that for some reason, this software does not calculate the division of complex numbers very accurately. Because of this, there was a considerable difference in the answers calculated manually using a calculator and those produced by the program. As far as the correctness of the syntax is concerned, I'm pretty sure I've cleaned up all the mistakes after going through the codes countless number of times.
So, anyway! My question is : what is causing this inaccurate calculation of the division of complex numbers in m-file programs? Also, is there any way to improve the accuracy?(just like converting to a better solver as in case of Simulink)