Problem 2159. A SUBSREF variant that accepts the 'end'-operator.
55.56% Correct | 44.44% Incorrect
Last Solution submitted on Sep 23, 2021
Andrew Newell on 20 May 2017
Pity that eval is forbidden - I had quite an elegant solution using it.
Solution CommentsShow comments
Problem Recent Solvers5
Select every other element of a vector
Duplicate each element of a vector.
Piecewise linear interpolation
More from this Author31
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!