1. Engineering
  2. Mechanical Engineering
  3. matlab...

Question: matlab...

Question details

Matlab

Create a script that receives any row matrix with positive integer elements as the input, an reates the output by retaining the even elements, and adding one to the odd elements Example: A 11,4,42,31,1] B - output- [12,4,42,32,2]

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution