CS 5320
Fall Semester 2012

 
Problem 11-3

 
Assigned: 13 November 2012
Due: 13 December 2012
 

Implement the following Matlab function (Boostrapping p. 502 in Forsyth and Ponce):

function model = CV_bootstrapping(samples,num_to_omit)
%
%CV_bootstrapping - bootstrapping model builder
%On input:
%     samples (mxn array): sample data
%     num_top_omit (int): number of samples to omit when buidling first round
%On output:
%     model (structure vector): model with fields:
%          .num_pts (int): number of points used to build model
%          .samples (pxn array): samples used to build model
%          .mu (nx1 vector): model mean
%          .sigma (nxn array); covariance of model
%Call:
%     m1 =  CV_bootstrapping(s1,10);
%Author:
%     Your name
%     UU
%     Fall 2012
%