24 Create a 10x10 matrix with random elements as below. Get a new matrix by using a nested for loop by, making the index number sum (row number + column number) of the elements of the matrix you have...


24 Create a 10x10 matrix with random elements as below. Get a new matrix by using a<br>nested for loop by, making the index number sum (row number + column number) of<br>the elements of the matrix you have obtained, the new values of the even ones as 2, and<br>the new values of the odd ones as 1.<br>[52<br>M = : .<br>l11<br>12<br>...<br>78710x10<br>...<br>

Extracted text: 24 Create a 10x10 matrix with random elements as below. Get a new matrix by using a nested for loop by, making the index number sum (row number + column number) of the elements of the matrix you have obtained, the new values of the even ones as 2, and the new values of the odd ones as 1. [52 M = : . l11 12 ... 78710x10 ...

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here