Skip to content

Commit

Permalink
issue #54: Fixed the range of the parameterization
Browse files Browse the repository at this point in the history
  • Loading branch information
BabaylovaPolina authored and isvasia committed Dec 28, 2018
1 parent f31760e commit b3eb287
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
timeVec = [t1, 0];
% initial directions:
nDirs = 5;
paramVec = linspace(0, 2*pi, nDirs);
[param1Arr, param2Arr, param3Arr] = meshgrid(paramVec);
param1Vec = linspace(0, pi, nDirs);
param2Vec = linspace(0, 2*pi, nDirs);
[param1Arr, param2Arr, param3Arr] = meshgrid(param1Vec, param1Vec, param2Vec);
dirsMat = [...
cos(param1Arr(:)),...
sin(param1Arr(:)) .* cos(param2Arr(:)),...
Expand Down

0 comments on commit b3eb287

Please sign in to comment.