add Nans in time windows Ms
This commit is contained in:
parent
8d624be927
commit
1177e49e6d
@ -505,7 +505,7 @@ end
|
||||
|
||||
function [HP] = TDHMagDistWrapper(method, time_win_data, mmin, iop,Mmax)
|
||||
cd SSH
|
||||
for j=1:size(time_win_data,2);M1(j)=max(time_win_data(j).M);end
|
||||
for j=1:size(time_win_data,2);if isempty(time_win_data(j).Time);M1(j)=NaN;else;M1(j)=max(time_win_data(j).M);end;end
|
||||
Mmaxcat=max(M1);Mmax=max([Mmaxcat Mmax])
|
||||
|
||||
for i=1:size(time_win_data,2)
|
||||
|
@ -402,7 +402,7 @@ end
|
||||
|
||||
function [HP] = TDHMagDistWrapper(method, time_win_data, mmin, iop,Mmax)
|
||||
cd SSH
|
||||
for j=1:size(time_win_data,2);M1(j)=max(time_win_data(j).M);end
|
||||
for j=1:size(time_win_data,2);if isempty(time_win_data(j).Time);M1(j)=NaN;else;M1(j)=max(time_win_data(j).M);end;end
|
||||
Mmaxcat=max(M1);Mmax=max([Mmaxcat Mmax])
|
||||
|
||||
for i=1:size(time_win_data,2)
|
||||
|
Loading…
Reference in New Issue
Block a user