Making a histogram with data from excel
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have an Excel document with data points. I have entered in
D=[2437, 2437, ..., 2411];
then i attempt to make a histogram with hist(D,10) but it says
error
variable D not known.
Didn't I just define D?
0 comentarios
Respuestas (1)
madhan ravi
el 11 de Nov. de 2018
[num,~,~]=xlsread('myexcelfile.xlsx') %if it doesn't work upload excel file
D=num;
histogram(D,10)
0 comentarios
Ver también
Categorías
Más información sobre Histograms en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!