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))
age =
50
idx =
20
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))
age =
27
idx =
2
old_name =
"Melanie"
|
Create matrix of replicated elements
321 Solvers
412 Solvers
Find last zero for each column
239 Solvers
Matlab Basics - Convert a row vector to a column vector
423 Solvers
192 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!