The input x is unnecessary. Consider modifying the problem by removing x or making y an anonymous function.
Select every other element of a vector
20871 Solvers
3396 Solvers
231 Solvers
Find the dimensions of a matrix
377 Solvers
622 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!