Matlab data classes advantages

3 views (last 30 days)
Yung Xi
Yung Xi on 24 Oct 2019
Edited: Adam on 24 Oct 2019
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.

Categories

Find more on Data Type Identification in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!