To find histogram of a particular cell of a cell array
4 次查看(过去 30 天)
显示 更早的评论
I am having a cell array (C) of 3072*2 cell each having 1*1295 matrix values, I need to plot histogram for a particular cell, for example, histogram of C{1,1} means, how can I do that? Kindly help me with this. Thanks in advance.
采纳的回答
Abderrahim. B
2022-7-9
编辑:Abderrahim. B
2022-7-9
% Dont have data, creating dummy vector and cell and adding dummy vector to the
% the cell
dummyVec = randi(50, [1 1295]) ;
C = cell(3072,2) ;
C{1,1} = dummyVec ;
% Histogram
histogram(C{1,1})
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!