I try to execute a simple matlab bootstrapt example from taken this guide. The guide says that
>> x=1:5;
>> out=bootrsp(x,10)
out = 2 5 5 5 2 3 2 3 4 1
5 5 3 4 1 5 4 1 1 5
5 3 1 3 1 5 3 5 3 1
1 4 5 3 3 2 5 3 5 4
3 3 5 3 5 1 5 3 5
When I run this command on command window, I get an error via Undefined function or method 'bootrsp' for input arguments of type 'double'.
How can I add/load it?
Abdelhak M. Zoubir and D. Robert Iskander created once a "BOOTSTRAP MATLAB TOOLBOX", that is a private library for computing bootstraping statistics. This library required Matlab 5.0 and the Statistical Matlab Toolbox of this time. It contained a file called bootrsp.m.
You can read about it and download the file it from here. It may still run.
However nowadays bootstrapping is inbuilt in Matlab (bootstrp
), so there is probably no real need anymore to use it.