This is another version of problem 3107.
The goal is to return values of an array A given index N, but return NaN for incorrect index.
Example:
>> A = 1:5; >> N = [-1 2 6]; >> values = giveup(A, N) values = NaN 2 NaN
Return a list sorted by number of occurrences
1097 Solvers
871 Solvers
194 Solvers
163 Solvers
Getting the row and column location from a matrix
180 Solvers
Opportunities for recent engineering grads.
Apply Today