Want to apply two different functions on different elements of a vector.
2 views (last 30 days)
Vinay Killamsetty on 9 May 2019
How can we operate two seperate functions on elements of a row vector: one function should be operated on even position elements and other function should be operated on odd position elements by using array function or by any other means.
Finally the outcomes of those operations should be combined as a another row vector