why symbolic variables always size 8 bytes?
Show older comments
Each time I want to know how big a symbolic formula or variable is, it always return 8 bytes. I have tracked this issue from Matlab 2016b until now (2018b) and anything change.
syms a b c d e
h = a*b*c*a*c*d*e+a*b+c+d*e-a
f(a,b,c,d,e) = a*b*c*a*c*d*e+a*b+c+d*e-a
whos a h f
Name Size Bytes Class Attributes
a 1x1 8 sym
f 1x1 8 symfun
h 1x1 8 sym
Do someone know why this happen and how to solve it?
Accepted Answer
More Answers (0)
Categories
Find more on Common Operations 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!