how do i change a scientific figures?
Afficher commentaires plus anciens

here is my plot graph from my data.
I used following code to display my data on the graph
strValues = strtrim(cellstr(num2str([X(:) Y(:)],'(%d,%d)'))); text(X,Y,strValues,'VerticalAlignment','bottom');
However, it seems the figures are printed in a long numbers..
for instance, 7.5 to be 7.50000
whereas I want it to be just 7.5
so, how do i fix this?
Cheers
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Software Development dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!