필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to compare the time of code from tow different mechines

조회 수: 1 (최근 30일)
nadia nadi
nadia nadi 2016년 3월 16일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (1개)

Walter Roberson
Walter Roberson 2016년 3월 16일
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
nadia nadi
nadia nadi 2016년 3월 17일
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

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by