Feeds
질문
I'm trying to create a matrix with the following format for any size square matrix.
I need to create a square matrix of any size n so that it has this form: For Example, a 5x5 matrix: A= [1 0 0 0 0 ;1 -2 1 0 0 ...
거의 6년 전 | 답변 수: 1 | 0
1
답변질문
Creating A Matrix Using Nested For Loops and Mod function
I need to create a n x n matrix function with the following pattern. If n was 4, the matrix should appear like [1 0 2 0;0 3 0 4...
거의 9년 전 | 답변 수: 1 | 0