Matlab data classes advantages

2 visualizzazioni (ultimi 30 giorni)
Yung Xi
Yung Xi il 24 Ott 2019
Modificato: Adam il 24 Ott 2019
Hi,
What are the Matlab data classes and the advantages and disadvantages of each class?
Thank you.

Risposte (1)

Adam
Adam il 24 Ott 2019
Modificato: Adam il 24 Ott 2019
In basic terms obviously floating point (double,single) gives higher accuracy, but takes more memory, with double taking double the memory of a single (well, yes...). Different integer types also follow the same logic - the lower the memory usage the lower the accuracy.

Community Treasure Hunt

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

Start Hunting!

Translated by