Appendix E

Chapter E: MATLAB for systems biology #

  1. What is the ideal way to compare if two floating-point numbers are equal, in MATLAB? a. abs(A-B) < 1e-12
    b. A – B == 0
    c. A == B
    d. floor(A) == floor (B)

Ans: a