I can plot multiple plots with a same dimension in a histogram
x = rand(1000,3);
hist(x);
But I could not plot multiple plots with a different dimension.
x1 = rand(1100,1);
x2 = rand(1000,1);
x3 = rand(900,1);
x = [x1 x2 x3]
hist(x)
I get the following error
Error using horzcat
Dimensions of arrays being concatenated are not consistent.
Please someone point me to right direction to solve the problem.

