Question: Outputs: numbers = 1 4 double - 2 , 1 , 3 indices = 1 4 double 1 3 , 5 , 6 The array

Outputs:
numbers =14 double
-2,1,3
indices =14 double
13,5,6
The array indices indicates that the -2 was in the 1 st Position, the 1 was in the 3rd Position, and the 3's were in the 5 th and 6 th positions.
Note: Problem1 and Problem2 are combined into completing the function MiniProject1 which combines the inputs and outputs of both problems instead of implementing two
separate functions.
Function 0
function [oddNumbers, evenNumbers, reverseNumbers, numbers, indices]= MiniProject1(endValue, arrayNumbers)
% Write your name in here as a comment line
% Name:
Problem1's solution
% delete the 3 following output lines after you write your problem 1 solution
oddNumbers endValue
 Outputs: numbers =14 double -2,1,3 indices =14 double 13,5,6 The array

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!