3-surrogate-sine-example

3-surrogate-sine-example - Toolbox...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
olbox example with three surrogates Toolbox example with three surrogates Data: c clc; clear all; X = [1.4004 0.0466 2.8028 4.5642 6.1976]; Y = sin(X); NbVariables = 1; NbPointsTraining = length(X); Xplot = linspace( pi/4, 2.5*pi)'; Yplot = sin(Xplot);
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
tting of cubic polynomial Fitting of cubic polynomial % polynomial response surface optPRS = srgtsOptionSet(. .. 'P', X, . .. 'T', Y, . .. 'Surrogates', @srgtsPRS,. .. 'PRS_Degree', 3, . .. 'Display','final'); [srgtPRS, sttPRS] = srgtsFit(optPRS);
Background image of page 2
tting the riging rrogate Fitting the Kriging surrogate % kriging heta0 =001*( bPointsTraining (2/ bVariables *ones(1 NbVariables): Theta0 = 0.01 (NbPointsTraining^(2/NbVariables)) ones(1,NbVariables): LowerBound = 1e 3*ones(1,NbVariables) >>LowerBound = 1.0000e 003 UpperBound = 3*Theta0 >>UpperBound = 0.7500 pp optKRG = srgtsOptionSet(. .. 'P', X, . .. 'T', Y, . .. 'Surrogates', @srgtsKRG,. .. 'KRG_RegressionModel', @regpoly0, .
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 7

3-surrogate-sine-example - Toolbox...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online