FUNCTION REFERENCE

bootstrp

Bootstrap statistics from jointly resampled rows.

Bootstrap statistics from jointly resampled rows.

Syntax

[bootstat,bootsam] = bootstrp(nboot,bootfun,d1,...[,'Weights',w,'Options',options])

Data arrays share a row count; scalars pass through unchanged. Numeric, logical, char and cell data retain class in callbacks. Each bootstat row contains the flattened callback result. bootfun=[] skips callbacks and returns only bootsam as the second output. All indices are drawn column by column before callbacks run. Options.UseParallel accepts true, false, on, off or auto. Index and result dimensions are bounded before allocation.

Example

rng(7); [b,idx] = bootstrp(5,@mean,[1;2;4;8])

Differences from MATLAB: execution is serial even when UseParallel is enabled. Samples differ even after rng(seed); only rand, randn and randi match its stream. RandStream inputs are not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.