| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Symbolic Math Toolbox |
| Contents | Index |
| Learn more about Symbolic Math Toolbox |
Y = round(X)
Y = round(X) rounds the elements of X to the nearest integers. Values halfway between two integers are rounded away from zero.
x = sym(-5/2); [fix(x) floor(x) round(x) ceil(x) frac(x)]
ans = [ -2, -3, -3, -2, -1/2]
![]() | reset (mupadengine) | rref | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |