view printSize.m @ 148:1f5f988e9682

Added functions for printing and timing tasks in a script.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 05 Apr 2016 11:26:04 +0200
parents 643bc513b8b8
children
line wrap: on
line source

function printSize(A)
    result = size(A);
    fprintf('size(%s) => %s\n', inputname(1), toString(result));
end