This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 'purusa';
y_correct = 'u';
assert(isequal(frequent_character(x),y_correct))
|
2 | Pass |
%%
x = 'rama';
y_correct = 'a';
assert(isequal(frequent_character(x),y_correct))
|
Replace NaNs with the number that appears to its left in the row.
2018 Solvers
The Hitchhiker's Guide to MATLAB
2874 Solvers
Solve the set of simultaneous linear equations
273 Solvers
725 Solvers
289 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!