fprintf size without knowing the dimension
18 views (last 30 days)
Show older comments
Commented: John on 14 Jul 2017
How can I print the size of the array in one row without prior-knowing the dimension of the array?
How many %d to put there? or how to do it right?
Geoff Hayes on 14 Jul 2017
John - you asked this already at https://www.mathworks.com/matlabcentral/answers/348261-how-to-print-size-of-array.
Honglei Chen on 14 Jul 2017
Edited: Honglei Chen on 14 Jul 2017
You can just do
More Answers (0)
Find more on Scope Variables and Generate Names 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!