Skip to content

Commit 9278c0c

Browse files
DOC - small changes in formatting of comments in the code
1 parent b5cf0ec commit 9278c0c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

utilities/ft_source2full.m

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,10 @@
8080
tmppos = sparsepos(indx([1 sel(:)'+1]),:);
8181
tmpdpos = dpos(indx([1 sel(:)'+1]),:);
8282

83-
%FIXME the following is a bit experimental and not fully tested yet it works in general case
84-
%rotation
83+
% FIXME the following is a bit experimental and not fully tested yet it works in general case rotation
8584
M = pinv(tmpdpos(2:4,:));
8685

87-
%get rotation such that maxima are on diagonal and positive
86+
% get rotation such that maxima are on diagonal and positive
8887
m(1) = find(M(1,:)==max(abs(M(1,:))));
8988
m(2) = find(M(2,:)==max(abs(M(2,:))));
9089
m(3) = find(M(3,:)==max(abs(M(3,:))));
@@ -93,7 +92,7 @@
9392
M = M*diag(sign(diag(M)));
9493
sparsepos = sparsepos*M;
9594

96-
%translation
95+
% translation
9796
T = -min(sparsepos,[],1)+1;
9897
sparsepos = sparsepos + T(ones(size(sparsepos,1),1), :);
9998

0 commit comments

Comments
 (0)