⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 boxoss.m

📁 蒙特卡罗方法及其例子
💻 M
字号:
function ss=boxoSS(theta,data,local)% sum-of-square function for the boxo examplenbatch = length(data);% cumulate the sum-of-squares over the data sets (batches)ss = 0;for i=1:nbatch    th     = theta(local==0|local==i);  tspan  = data{i}.ydata(:,1);  ydata  = data{i}.ydata(:,2:3);  ymodel = boxoM(data{i},th);  ss = ss + sum((ydata - ymodel).^2);  end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -