Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
load patients.mat
Age(55) = 12;
name = string(LastName);
maxAge_correct = "Robinson";
assert(isequal(find_max_age(name,Age),maxAge_correct))
|
2 | Pass |
name = ["Renee" "Melanie" "Katrina" "Ethan"];
age = [23 27 19 13];
maxAge_correct = "Melanie";
assert(isequal(find_max_age(name,age),maxAge_correct))
|
How to find the position of an element in a vector without using the find function
2477 Solvers
274 Solvers
420 Solvers
Integer Sequence - II : New Fibonacci
252 Solvers
Pernicious Anniversary Problem
735 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!