Question: How do I type step 6 to step 8 in Wolfram Mathematica language? ( 1 ) Execute Identity Matrix [ 10 1 .

How do I type step 6 to step 8 in Wolfram Mathematica language?

How do I type step 6 to step 8 in Wolfram Mathematica

( 1 ) Execute " Identity Matrix [ 10 1 " . ( 2) The output of of what you just got above might look a little strange to you . However , you should notice that the output is just the collection of ten standard unit vectors ; that is , the noth set in the collection has I as then'h component of the set and zeros otherwise . Execute " Identity Matrix [ 1 0 1 1 / Matrix Form " . You would see what you expected to see . ( 3 ) Assign variable your lastname Mat the 10 x 10 identity matrix . For example , if your name is Smith , then execute the following :" smith Mat = Identity Matrix [ 101 ; ( 4 ) Execute smith Mat [ [ 1 , 171 , smith Mat[[9 , 911 , and smith Mat[[ 4 , 511 . (5) You have gotten 1 , 1 , and O as the outputs of the preceding question . smith Mat [ [i , ]]] represent the ( 1 , ) entry of the matrix smith Mat . ( 6 ) By using the Do loop , assign i + j to ( 1 , ) entry of smith Mat if is j . Then execute smith Mat / / MatrixForm . ( 7 ) By using the Do loop again , assign O to ( 1 , ) entry of smith Mat if i = j . Then execute smith Mat / / MatrixForm . ( 8 ) By using the Do loop again , assign ; - j to ( 1 , ) entry of smith Mat if i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!