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))
c =
50
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))
c =
27
old_name =
"Melanie"
|
First non-zero element in each column
593 Solvers
401 Solvers
283 Solvers
Natural numbers in string form
347 Solvers
1810 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!