To find histogram of a particular cell of a cell array
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Shalmiya Paulraj SOC
am 9 Jul. 2022
Bearbeitet: Abderrahim. B
am 9 Jul. 2022
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.
Akzeptierte Antwort
Abderrahim. B
am 9 Jul. 2022
Bearbeitet: Abderrahim. B
am 9 Jul. 2022
% 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Histograms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!