%% Specify Scaling and Centering Values for Independent Variables
% Create a function matching requirement object for a two-dimensional variable, and specify scaling and centering values for the independent variables.
% The Centers and Scales properties are specified as vectors of length equal to number of independent variables. The number of independent variables equals the dimensionality of the test data.

Requirement = sdo.requirements.FunctionMatching('Centers',[5 10],...
    'Scales',[50 100]);

% When you specify independent variables as inputs to the evalRequirement command, the software subtracts 5 from the first independent variable and then divides the result by 10. The software subtracts 50 from the second independent variable and then divides the result by 100.
% Copyright 2012 The MathWorks, Inc.