Quantcast
Channel: PTC Community: Message List
Viewing all articles
Browse latest Browse all 12262

Re: test if a variable is a matrix

$
0
0

Got it.  The "rows" function accepts a scalar or matrix and returns a zero if given a scalar.  I just have to check if rows(x) = zero, and then return the function without the reverse operation.


Viewing all articles
Browse latest Browse all 12262

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>