Removed translated function from MATLAB script
This commit is contained in:
parent
1baa99540c
commit
4a7cf802e8
1 changed files with 67 additions and 92 deletions
|
|
@ -1148,31 +1148,6 @@ else
|
|||
popnames2 = [];
|
||||
end
|
||||
|
||||
%------------------------------------------------------------------
|
||||
|
||||
function fiksaaPartitioYksiloTasolle(rows, rowsFromInd)
|
||||
|
||||
global PARTITION;
|
||||
totalRows = 0;
|
||||
for ind = 1:size(rows,1)
|
||||
totalRows = totalRows + (rows(ind,2)-rows(ind,1)+1);
|
||||
end
|
||||
partitio2 = zeros(totalRows/rowsFromInd,1);
|
||||
|
||||
for ind = 1:size(rows,1)
|
||||
kaikkiRivit = rows(ind,1):rows(ind,2);
|
||||
for riviNumero = rowsFromInd:rowsFromInd:length(kaikkiRivit)
|
||||
%for riviNumero = rowsFromInd:rowsFromInd:length(rows{ind})
|
||||
%rivi = rows{ind}(riviNumero);
|
||||
rivi = kaikkiRivit(riviNumero);
|
||||
partitio2(rivi/rowsFromInd) = PARTITION(ind);
|
||||
end
|
||||
end
|
||||
PARTITION = partitio2;
|
||||
|
||||
%---------------------------------------------------------------
|
||||
|
||||
|
||||
%--------------------------------------------------------------------
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue