Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
lat = 42.3;
lon = -71.35;
str_correct = '_vdaGnpnrL';
str = polyline_encoder(lat,lon);
assert(isequal(str,str_correct))
|
2 | Pass |
lat = 48.82;
lon = 2.22;
str_correct = '_d~hH_rpL';
str = polyline_encoder(lat,lon);
assert(isequal(str,str_correct))
|
3 | Pass |
lat = 38.5;
lon = -120.2;
str_correct = '_p~iF~ps|U';
str = polyline_encoder(lat,lon);
assert(isequal(str,str_correct))
|
4 | Pass |
lat = 40.7;
lon = -120.95;
str_correct = '_flwFn`faV';
str = polyline_encoder(lat,lon);
assert(isequal(str,str_correct))
|
5 | Pass |
lat = 43.252;
lon = -126.453;
str_correct = '_t~fGfzxbW';
str = polyline_encoder(lat,lon);
assert(isequal(str,str_correct))
|
54211 Solvers
9818 Solvers
Create a function handle that reverses the input arguments of another function handle
124 Solvers
Convert Hard Drive marketing sizes to actual data sizes
61 Solvers
Back to basics 13 - Input variables
233 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!