Filter löschen
Filter löschen

About ploting values in array and holding them

1 Ansicht (letzte 30 Tage)
rathod ujjval rameshbhai
rathod ujjval rameshbhai am 1 Sep. 2015
Beantwortet: Walter Roberson am 2 Sep. 2015
I have following code as function
function PlotSample(x)
figure(1);
sublot(3,1,1);
[a,b]=hist(x);
hold on;
a=100*(a./size(x,1));
end
Now if i have diffrent values of x like x1,x2 and x3 all having size 100*2 then how to plot 6 histograms in 1 plot?

Antworten (1)

Walter Roberson
Walter Roberson am 2 Sep. 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by