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 Center および File ExchangePerformance and Memory についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by