how do i do it if my answers are long but want them with only about 4dps
@jomarescobido9314 Жыл бұрын
Sir I am having trouble with this one. I don't know but MATLAB answer to 1/(0.1*0.00001) is not 1M but 999999.999999999880000, 1000000 is displayed but when I am running it with my code it always fall on D>0 so upon investigating using fprintf('%.20f',D) I found out that its answer is not 1M but 999999-ish. I am using this for evaluating discriminant therefor I can't arrived with D==0. I am really on the edge figuring this out. Any recommendation or solution to this one? Thanks a lot!