Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a function on Scilab 8.2 Create a function called MPA that will take a 23 matrix (called A ) and a 2X1 matrix (called
Create a function on Scilab
8.2 Create a function called "MPA" that will take a 23 matrix (called "A" ) and a 2X1 matrix (called " B ") that the user enters before the function is run and will take the elements of the first matrix to the power of the matching row of the second matrix and then add up the rows to get a 21 matrix. Save your SciNotes file as YourName_HW8_2 Sample answer: If the user enters 435546andB=2 C=MPA(A,B) The output of the function will be 50 405 i.e. 42=1653=12543=6463=21632=952=25125+64+216=40516+9+25=50 Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started