Fill This Form To Receive Instant Help
Homework answers / question archive / Write a function that takes two inputs, arrl and arr2, and returns two outputs, arr12 and arr21
Write a function that takes two inputs, arrl and arr2, and returns two outputs, arr12 and arr21. All inputs and outputs are arrays. arr12 should be an array with all of the numbers in arrl followed by all of the numbers in arr2. arr21 should be all of the numbers in arr2 followed by all of the numbers in arr1. You function should work in the case that arrl and arr2 have different orientations (i.e., one is vertical, the other is horizontal). This means you should use loops to accomplish this task. Do not use built in MATLAB functions that combine arrays.
Already member? Sign In