Question: Create a new function file called modify _ matrix.m . Then copy and paste the contents of the create _ matrix.m . file into this
Create a new function file called modifymatrix.m Then copy and paste the contents of the creatematrix.m file into this new file, and change the name of the function in the first line to modifymatrix instead of creatematrix By further modifying this new file, write a function that will output a matrixAobtained by modifying an input matrixBin the following way: If an entry inBis greater than or equal to zero then multiply it by If an entry inBis less than zero then add to it Then use this new function to create a matrixAobtained by modifying the followingtimes matrixB
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
