|
From: | Egshiglen Bat-Erdene |
Subject: | Re: Matrices |
Date: | Fri, 24 Nov 2017 20:24:05 +0100 |
On Fri, Nov 24, 2017 at 6:35 PM, Doug Stewart <address@hidden> wrote:On Fri, Nov 24, 2017 at 11:29 AM, Egshiglen Bat-Erdene <address@hiddencom > wrote:HelloI wanted to ask about matrices. I should do a matrix which is full with 2, but the diagonal is from1 to 10. And A matrix with full zeros, however the diagonal's two sides are -1.I hope you will help me soon.
show us what you tried.Once you comprehend that, the tasks are trivial one-liners.I agree with Doug, (at least, I assume that he implies this sounds like homework).Just a hint. the diag function not only retrieves the diagonal.
[Prev in Thread] | Current Thread | [Next in Thread] |