Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how to compare the time of code from tow different mechines

1 visualización (últimos 30 días)
nadia nadi
nadia nadi el 16 de Mzo. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Dear,
I wrote a code in matlab and run it from my desktop core2 and I want to compare the time with a code has written in C on HP Compaq with frequency 2GHz and a RAM of 2 GB. which I have no idea what is them. can any one explain it to me please.
regards,
Nadia

Respuestas (1)

Walter Roberson
Walter Roberson el 16 de Mzo. de 2016
See the MATLAB function "timeit". If you are using an old enough MATLAB version you might need to get timeit from the File Exchange.
  1 comentario
nadia nadi
nadia nadi el 17 de Mzo. de 2016
Dear Wlater,
thanks for replying, I checked, I have timeit function. could you explain to me more, what is this mean ( HP Compaq with frequency 2GHz and a RAM of 2 GB) ? is mentioned in a paper that I want to compare my work with them. could you please advice me how to compare ?
regards,
Nadia

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by