Question: Solve the following question using Matlab language only. Write a function which takes two random vectors of same or different finite lengths and merges them

Solve the following question using Matlab language only.

Solve the following question using Matlab language only. Write a function which

Write a function which takes two random vectors of same or different finite lengths and merges them alternatively. Example 1 3 5 7 9.--] 2 46 8 10 1 2 3 4 5 6 7 8 9 10.] Write a function named zerominodd that takes the input and replaces all O's with the minimum odd value in the input. If there is no odd value in the input, then the function does not do any replacement of 0's. In other words, it returns the input as the output, without any changes Examplel Input =[1,0,2,3,4,0] Outputs:11 ,1.2.3.4.1] Example2 Input -[0,2,4,2,6] Output[0,2,4,2,6] Example3 Input -[1,2,3,4,5,6,7] Output-[1,2,3,4,5,6,7)

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!