Matlab data classes advantages

Hi,
What are the Matlab data classes and the advantages and disadvantages of each class?
Thank you.

Answers (1)

Adam
Adam on 24 Oct 2019
Edited: Adam on 24 Oct 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.

Tags

Asked:

on 24 Oct 2019

Edited:

on 24 Oct 2019

Community Treasure Hunt

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

Start Hunting!