To find histogram of a particular cell of a cell array
조회 수: 6(최근 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개)
참고 항목
범주
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!