Is double precision standard in matlab? How do I calculate in that precision.

9 vues (au cours des 30 derniers jours)
I am trying to calculate expressions in double precision arithmetic in matlab. Is that standard or do I have to change it? And how would I change to any other precision?

Réponse acceptée

Youssef  Khmou
Youssef Khmou le 15 Fév 2013
Hi,
yes double precision is standard in Matlab that represents floating-points numbers in either double-precision or single-precision format .
Matlab constructs double data type according to IEEE Standard 754 for double precision, and any value stored as double requires 8 bytes.

Plus de réponses (1)

the cyclist
the cyclist le 15 Fév 2013
Double precision is the default.
You can read more details here:

Community Treasure Hunt

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

Start Hunting!

Translated by