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

1 view (last 30 days)

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

Answers (0)

Categories

Find more on Performance and Memory in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!