Display 4D double size with Editor datatips
Show older comments
For ease of navigation, I would like to use the Editor datatips feature to get the size of a 4D double matrix. I noticed that if the matrix is double, the datatips displays "4-D double". If it is single precision, it correctly displays the size of the array. Is there a custom settings to change this behavior? Is it intended as such?
2 Comments
Catalytic
on 31 Oct 2023
Change the behavior to what?
Olivier Roy
on 31 Oct 2023
Edited: Olivier Roy
on 31 Oct 2023
Answers (1)
If you mean you want the dimensions displayed in the form AxBxCxD, I don't think there is any way to have the Editor datatip do so. However, there is a version of whos() on the File Exchange that will do it,
M=rand(3,4,5,6,2);
>> whos M
Name Size Bytes Class Attributes
M 5-D 5760 double
>> Whos M
Name Size Kilobytes Class Attributes
M 3x4x5x6x2 5.625 double
1 Comment
Olivier Roy
on 31 Oct 2023
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!