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))
old_name =
"Robinson"
|
2 | Pass |
name = ["Renee" "Melanie" "Katrina" "Ethan"];
age = [23 27 19 13];
maxAge_correct = "Melanie";
assert(isequal(find_max_age(name,age),maxAge_correct))
old_name =
"Melanie"
|
Return the largest number that is adjacent to a zero
3751 Solvers
Change the sign of even index entries of the reversed vector
296 Solvers
Magic is simple (for beginners)
2756 Solvers
The sum of the numbers in the vector
426 Solvers
Simple equation: Annual salary
3779 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!