MATLAB: How to turn decimal numbers to integers

matlab basic

Dear fellows,
Do you have any idea how to turn a set of results which are decimal numbers to integers?

Best Answer

  • Use
    round()
    or
    fix()
    HTH,IH