From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Verify if a matrix is upper triangular. Also if it is lower triangular
Date: Sat, 24 Nov 2012 14:21:02 -0600
Organization: NNTP Server
Lines: 18
Message-ID: <k8ra94$9m0$>
References: <k8r8qj$ljq$>
NNTP-Posting-Host: siVB/j7OreVJTnn+/1o/
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20120306 Thunderbird/3.1.20
X-Notice: Filtered by postfilter v. 0.8.2
Xref: comp.soft-sys.matlab:783411

On 11/24/2012 1:57 PM, Edwardo wrote:
> Hi!
> I am a new Matlab user, and I want to test if a matrix is upper or lower
> triangular. Something like : isupper(mat) and islower(mat)
> Can someone tell me if there exits functions already fot this?
> If not, can someone help me to build functions for this?
> Thanks!

Simple enough...

r = function istriu(z)

extension should be obvious... :)