Which specifications i must have on my compute to run matlab faster
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!