Answered step by step
Verified Expert Solution
Link Copied!

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
image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Handbook Of Database Security Applications And Trends

Authors: Michael Gertz, Sushil Jajodia

1st Edition

1441943056, 978-1441943057

More Books

Students also viewed these Databases questions

Question

Question Can I collect benefits if I become disabled?

Answered: 1 week ago