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

1 visualización (últimos 30 días)
Tiago Dias
Tiago Dias el 8 de Feb. de 2018
Editada: Tiago Dias el 8 de Feb. de 2018

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

Respuestas (0)

Categorías

Más información sobre Performance and Memory en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by