Mercurial > repos > public > sbplib
view print_issparse.m @ 196:289fd8b1635c
Added function to return names of variables.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 26 May 2016 12:56:49 +0200 |
parents | 54d3ab296ba0 |
children |
line wrap: on
line source
function print_issparse(A) warning('Deprecated! Use printExpr() instead!'); b = issparse(A); if b s = 'true'; else s = 'false'; end fprintf('%8s is sparse: %s\n',inputname(1),s); end