matlab rounding off while plotting
Afficher commentaires plus anciens
Hello, I've been taking measurements with many digits, and when I plot them using the plot(x,y,',') function it seems to be less precise. I would see as if many of the data points appear as the same value. I've attached an example file of a capacitor discharging.
I'd appreciate any help!
Thanks
1 commentaire
KSSV
le 14 Juin 2017
YOu need not to worry about precision....your plot would be correct.
Réponses (1)
Walter Roberson
le 14 Juin 2017
Give the command
format long g
and then examine your data again.
2 commentaires
nir livne
le 14 Juin 2017
Walter Roberson
le 14 Juin 2017
I saw in the past that determination tick marks was essentially limited to single precision.
If you are using R2015a or later (not R2014b) you might be able to set the axes XRuler or YRuler TickLabelFormat property to extend the precision.
Catégories
En savoir plus sur Annotations 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!