Histogram of cell array ?
3 views (last 30 days)
Show older comments
I have a 4-D cell containing a lot of values (from simulation). I wish to plot a histogram representing all those values. How do I do so?
0 Comments
Accepted Answer
Andrei Bobrov
on 10 Aug 2011
% Ain - 4-D cell array
hist(cell2mat(cellfun(@(x)x(:),Ain(:),'un',0)))
4 Comments
More Answers (0)
See Also
Categories
Find more on Histograms 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!