the MATLAB code (attached file) should calculate a function for a number of different data-sets. These data-sets will be generated by the boostrap-algorythm in a for loop. So, I´ll get one function Rnum (reliability) for each loop, depending on the estimated parameters (beta, B and C). That parameters will be calculated by maximizing the log.likelihoodfunction.
That what I would like to do is, to calculate these (reliability) functions for each iteration und to plot all thas functions in one diagramm. But I have the problems with the indices.
Can someone solve my problem, please?