clear; // 一様乱数の発生 X = rand(1,10000); // グラフのプロット subplot(2,1,1); plot(X); // ヒストグラム subplot(2,1,2); histplot(100,X);