view printSize.m @ 7:8add0564ad6a

Added functions for converting structs to string representations.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 21 Sep 2015 14:50:51 +0200
parents 48b6fb693025
children 54d3ab296ba0
line wrap: on
line source

function printSize(A)
    s = size(A);
    fprintf('%8s has size: [%d, %d]\n',inputname(1),s(1),s(2));
end