Nitzan Haviv
Content Feed
문제를 풀었습니다
Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...
2년 초과 전
문제를 풀었습니다
Sum the elements in either diagonal of a square matrix
Sum the elements of a square matrix that lie on either the major diagonal or anti-diagonal. (Include all elements that are part ...
2년 초과 전
문제를 풀었습니다
Symmetric matrix
You must create a n-by-n *symmetric* matrix such that A(row,col) = row/col for col >= row. Example if n =3 : output is : ...
2년 초과 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
2년 초과 전
답변 있음
Effective matrix defining (diagonals)
btw i found another way when N is the dimention of the square matrix d_sec = ones(1,N-1); d_main= ones(1,N).*-2; H = diag(d_...
Effective matrix defining (diagonals)
btw i found another way when N is the dimention of the square matrix d_sec = ones(1,N-1); d_main= ones(1,N).*-2; H = diag(d_...
2년 초과 전 | 0
질문
Effective matrix defining (diagonals)
hi, i would like to get some help with defining the next matrix in the easiest way. i know the diag() function but i didnt find...
2년 초과 전 | 답변 수: 2 | 0