Which specifications i must have on my compute to run matlab faster

조회 수: 1 (최근 30일)
Tiago Dias
Tiago Dias 2018년 2월 8일
편집: Tiago Dias 2018년 2월 8일

Hello, i will work with a mat file that has 900.000 rows and 100 columns more or less

My laptop is a Toshiba Satelite P50-8-10Vhas 8gb of ram memory, its an Intel® Cpre™ i7-4710HQ CPU @ 2.5 GHz,

for 1 cycle, j=1 and i=1:900000it takes 1 hour, probably it is normal?

for j = 1:m/2 -> j = 1:22 in the first cycle, and 40 in the 2nd cycle for i = 1:length(tempo_processo) it's 1:900000 in both cycles

for j = 1:m/2
    for i = 1:length(tempo_processo)
        ind_aux = find(Laboratorio{:,2*j-1}==tempo_processo(i,1))  
        if  ~isempty(ind_aux)
            novo_tempo_laboratorio(i,j) = tempo_processo(i,1);
            novo_variavel_laboratorio(i,j) = Laboratorio(ind_aux,2*j); 
        else % Não existe registo para o tempo_processo(i)
            novo_tempo_laboratorio(i,j) = tempo_processo(i,1);
            novo_variavel_laboratorio{i,j} = NaN;
        end
    ind_aux=[];
    end
end

답변 (0개)

카테고리

Help CenterFile Exchange에서 Performance and Memory에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by