I am generating random numbers (data) with the 3 parameter weibull distribution.
In my code, I have 25 combinations of my parameters (b=1:5; T=1:5) and I want to display every single combination as a histogram.
So at the end, I have 25 histogram of data.
The problem is, only the last combination of my parameter ( b=5, T=5) is displayed.
How can I see ALL 25 histograms with one run?
Edit: I deleted the 2 parameter weibull in my code for better overview about my question.
clear all;n = 100;t0 = 0.5;b = 1:5;T = 1:5;for v_T = 1:length(T) for v_b = 1:length(b) data(:,v_b,v_T) = wblrnd(v_T,v_b, [n,1]) + t0; endendhistogram (data)ax = gca;get(ax, 'position')ax.XLim=[0,10];
Best Answer