%% Specify a Base Stochastic Differential Equation Model
%% Create drift and diffusion functions

F = @(t,X) 0.1 * X;
G = @(t,X) 0.3 * X;

%
%% Pass the functions to the SDE constructor

obj = sde(F, G)    % dX = F(t,X)dt + G(t,X)dW

% Copyright 2015 The MathWorks, Inc.