Question: Please do in Matlab and write a comments 4- Write a function returnOddPosNums0 that receives an array of numbers and returns the odd positive numbers
4- Write a function returnOddPosNums0 that receives an array of numbers and returns the odd positive numbers and their index in two separate arrays. For example: [odds, idx] returnOddNums([2, 0, 1,7, 6, -91) should return odds [1, 7] idx [3, 4]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
