Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Write an Octave function, lab02_02 to perform the following operation. (a) Three input Arguments M1: AxB matrix (A,B are unknown) M2: AxB matrix target:

2. Write an Octave function, lab02_02 to perform the following operation.

(a) Three input Arguments M1: AxB matrix (A,B are unknown) M2: AxB matrix target: integer variable

(b) Three output Arguments M3: CxD matrix (C,D are unknown) M4: ExF matrix (E,F are unknown) Result: integer variable

(c) Insert the row of M1 (or M2) into M3 if the whole row is the same. (d) You should ignore the operation (c) if the column size does not match (e) Insert the column of M1 (or M2) into M4 if the whole column is the same. (f) You should ignore the operation (e) if the row size does not match (g) Count how many elements in M3 and M4 are equal to target, save the count into Result.

Thank you!!

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

Transactions On Large Scale Data And Knowledge Centered Systems Xxiv Special Issue On Database And Expert Systems Applications Lncs 9510

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Hendrik Decker ,Lenka Lhotska ,Sebastian Link

1st Edition

366249213X, 978-3662492130

More Books

Students also viewed these Databases questions

Question

Describe sleeps functions.

Answered: 1 week ago

Question

What are negative messages? (Objective 1)

Answered: 1 week ago