Code covered by the BSD License
-
ell_center_ode(t, x, mydata, ...
% ELL_CENTER_ODE - ODE for the center of the reach set.
-
ell_demo1
-
ell_demo2
-
ell_demo3
-
ell_eesm_ode(t, X, l0, mydata...
% ELL_EESM_ODE - ODE for the shape matrix of the external ellipsoid.
-
ell_eesm_ode(t, X, l0, mydata...
% ELL_EEDIST_ODE - ODE for the shape matrix of the external ellipsoid
-
ell_enclose(V)
% ELL_ENCLOSE - computes minimum volume ellipsoid that contains given vectors.
-
ell_fusionlambda(a, q1, Q1, q...
% ELL_FUSIONLAMBDA - function whose root in the interval (0, 1) determines
-
ell_iesm_ode(t, X, l0, mydata...
% ELL_IEDIST_ODE - ODE for the shape matrix of the internal ellipsoid
-
ell_iesm_ode(t, X, xl0, l0, m...
% ELL_IESM_ODE - ODE for the shape matrix of the internal ellipsoid.
-
ell_iesm_ode(t, X, xl0, l0, m...
% ELL_IESM_ODE - ODE for the shape matrix of the internal ellipsoid.
-
ell_inv(A)
% ELL_INV - computes matrix inverse treating ill-conditioned matrices properly.
-
ell_nlfnlc(objf, x0, nlcf, Op...
% ELL_NLFNLC - computes minimum of nonlinear function with nonlinear constraints.
-
ell_ode_solver(fn, t, x0, var...
% ELL_ODE_SOLVER - caller for particular ODE solver.
-
ell_plot(x, varargin)
-
ell_regularize(Q, delta)
% ELL_REGULARIZE - regularization of singular matrix.
-
ell_simdiag(A, B)
% ELL_SIMDIAG - computes the transformation matrix that simultaneously
-
ell_square_facets(epoints_num...
% ELL_SQUARE_FACETS - generates square facets to be used in PATCH function call.
-
ell_stm_ode(t, x, mydata, n, ...
% ELL_STM_ODE - ODE for state transition matrix.
-
ell_triag_facets(epoints_num,...
% ELL_TRIAG_FACETS - generates triangular facets to be used in PATCH function call.
-
ell_unitball(n)
% ELL_UNITBALL - creates unit ball object
-
ell_valign(v, x)
% ELL_VALIGN - given two vectors in R^n, computes orthogonal matrix that rotates
-
ell_value_extract(X, t, dims)
% ELL_VALUE_EXTRACT - extracts matrix value from ppform or vector array.
-
ellipsoids_init(varargin)
% ELLIPSOIDS_INIT - initializes Ellipsoidal Toolbox.
-
hyperplane2polytope(HA)
% HYPERPLANE2POLYTOPE - converts array of hyperplanes into polytope
-
install(root)
% Install Ellipsoidal Toolbox.
-
polytope2hyperplane(P)
% POLYTOPE2HYPERPLANE - converts given polytope object into the array
-
ellipsoid(varargin)
% ELLIPSOID - constructor of the ellipsoid object.
-
hyperplane(v, c)
% HYPERPLANE - creates hyperplane structure (or array of hyperplane structures).
-
linsys(A, B, U, G, V, C, W, D...
% LINSYS - constructor for linear system object.
-
reach(lsys, X0, L0, T, Option...
% REACH - computes reach set approximation of the linear system for the given
-
View all files
from
Ellipsoidal Toolbox (ET)
by Alex Kurzhanskiy
Implementation of the ellipsoidal calculus and ellipsoidal methods for reachability analysis.
|
| ellipsoids_init(varargin)
|
function out = ellipsoids_init(varargin)
%
% ELLIPSOIDS_INIT - initializes Ellipsoidal Toolbox.
%
% Any routine of Ellipsoidal Toolbox can be called with user-specified values
% of different parameters. To make Ellipsoidal Toolbox as user-friendly as
% possible, we provide the option to store default values of the parameters
% in variable ellOptions, which is stored in MATLAB's workspace as a global
% variable (i.e. it stays there unless one types 'clear all').
%
global ellOptions;
ellOptions.version = '1.1.2';
ellOptions.verbose = 1; % verbosity 1 ==> ON, 0 ==> OFF
if ellOptions.verbose > 0
fprintf('Initializing Ellipsoidal Toolbox version %s ...\n', ellOptions.version);
end
ellOptions.abs_tol = 1e-7; % absolute tolerance
ellOptions.rel_tol = 1e-6; % relative tolerance
% ODE solver parameters.
ellOptions.time_grid = 200; % density of the time grid
ellOptions.ode_solver = 1; % 1 ==> RK45, 2 ==> RK23, 3 ==> Adams
ellOptions.norm_control = 'on'; % on/off norm control in ODE solver
ellOptions.ode_solver_options = 0; % 0 - default, 1 - user-defined
% Solver for nonlinear optimization problem with nonlinear constraints:
% Minimize: f(x)
% Subject to: g(x) <= 0, h(x) = 0.
% Used for distance calculation.
% nlcp_solver = 0 - use the solver that comes with Ellipsoidal Toolbox.
% nlcp_solver = 1 - use the routines from MATLAB Optimization Toolbox.
ellOptions.nlcp_solver = 0;
ellOptions.plot2d_grid = 200; % grid density for plotting in 2D
ellOptions.plot3d_grid = 200; % grid density for plotting in 3D
% YALMIP settings.
try
ellOptions.sdpsettings = sdpsettings('Verbose', 0, 'warning', 0, 'cachesolvers', 1);
catch
warning('YALMIP not found, some functionality may be not accessible.');
ellOptions.sdpsettings = [];
end
return;
|
|
Contact us at files@mathworks.com