Effacer les filtres
Effacer les filtres

rounding the floating points

2 vues (au cours des 30 derniers jours)
Kugen Raj
Kugen Raj le 17 Mar 2012
Columns 1 through 8
-3.8881 -3.8854 -3.8776 -3.8645 -3.8462 -3.8228 -3.7944 -3.7610
How can I round this floating point to the nearest integer. I have tried using ceil, nearest, round, floor and fix. are there any other command for this?
  1 commentaire
John D'Errico
John D'Errico le 17 Mar 2012
Why did round not work for you?

Connectez-vous pour commenter.

Réponses (0)

Tags

Aucun tag saisi pour le moment.

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by