Hello,
My MatLab code outputs this 1.3357e+03 and I think this can be converted to a number like 1335.7.
I would like the MatLab function that will help me convert it.
Thanks for your help.

 Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 30 Nov 2012

0 votes

x=1.3357e+03;
out=sprintf('%.1f',x)

Plus de réponses (2)

Catégories

En savoir plus sur Get Started with MATLAB dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by