Skip to content

Commit

Permalink
add semi colon
Browse files Browse the repository at this point in the history
  • Loading branch information
aTrotier committed Dec 18, 2020
1 parent d2c41bd commit 5f3fd10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reco-a_MP2RAGE_CS/functions/MP2RAGE_lookupTable.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@
lookuptable = param2LUT(T1,struct_MP2RAGE);

[maxValue] = max(lookuptable);
[~, I1] = find(lookuptable == maxValue,1,'first')
[~, I1] = find(lookuptable == maxValue,1,'first');
%indice du premier max
lookuptable(1:I1-1)=lookuptable(I1); %on remplace toutes les valeurs precedentes par le max
[minValue] = min(lookuptable);
[~,I2]=find(lookuptable==minValue,1,'first') %indice du premier min apres ce max
[~,I2]=find(lookuptable==minValue,1,'first'); %indice du premier min apres ce max

T1 = T1(I1:I2); %on prend les T1 entre ces deux pics
lookuptable = lookuptable(I1:I2);
Expand Down

0 comments on commit 5f3fd10

Please sign in to comment.