{"id":235,"date":"2008-11-05T07:00:21","date_gmt":"2008-11-05T12:00:21","guid":{"rendered":"https:\/\/blogs.mathworks.com\/steve\/2008\/11\/05\/update-to-timeit\/"},"modified":"2019-10-28T09:46:29","modified_gmt":"2019-10-28T13:46:29","slug":"update-to-timeit","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/steve\/2008\/11\/05\/update-to-timeit\/","title":{"rendered":"Update to <tt>timeit<\/tt>"},"content":{"rendered":"<p>\r\nOn Leap Day, 2008, I <a href=\"https:\/\/blogs.mathworks.com\/steve\/2008\/02\/29\/timing-code-in-matlab\/\">posted<\/a> about how to time code in MATLAB, and I gave a link to a timing utility function called <tt>timeit<\/tt> that I submitted to the MATLAB Central File Exchange.\r\n<\/p>\r\n\r\n<p>\r\nIf you use <tt>timeit<\/tt>, you might want to download the updated version I posted last week. It corrects a problem that occurred when timing anonymous function handles.\r\n<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>\r\nOn Leap Day, 2008, I posted about how to time code in MATLAB, and I gave a link to a timing utility function called timeit that I submitted to the MATLAB Central File Exchange.\r\n\r\n\r\n\r\nIf you use... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/steve\/2008\/11\/05\/update-to-timeit\/\">read more >><\/a><\/p>","protected":false},"author":42,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[474],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/235"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":2643,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/235\/revisions\/2643"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/categories?post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/tags?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}