Skip to content

Commit

Permalink
issue #54:
Browse files Browse the repository at this point in the history
snippet 01 divided into three parts, reduced number of directions
  • Loading branch information
isvasia committed Dec 28, 2018
1 parent ca15a5b commit 7bcb800
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
gMat, vEllObj);
timeVec = [t1, 0];
% initial directions:
nDirs = 5;
nDirs = 3;
param1Vec = linspace(0, pi, nDirs);
param2Vec = linspace(0, 2*pi, nDirs);
[param1Arr, param2Arr, param3Arr] = meshgrid(param1Vec, param1Vec, param2Vec);
Expand All @@ -46,10 +46,3 @@

basisMat = [1 0 0 0; 0 0 1 0].'; % orthogonal basis of (x1, x3) subspace
psObj = brsObj.projection(basisMat); % reach set projection

% plot projection of reach set internal approximation:
psObj.plotByIa('b');

%plot backward reach set approximation at time t=0
psCutObj = psObj.cut(0);
psCutObj.plotByIa('r');
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
% plot projection of reach set internal approximation:
psObj.plotByIa('b');

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
%plot backward reach set approximation at time t=0
psCutObj = psObj.cut(0);
psCutObj.plotByIa('r');

0 comments on commit 7bcb800

Please sign in to comment.