This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
fcn = 'help';
sfcn = {'doc','docsearch','lookfor','matlabpath','which'};
assert(isequal(seeAlso(fcn),sfcn))
sc =
'doc' 'docsearch' 'lookfor' 'matlabpath' 'which'
|
2 | Pass |
%%
fcn = 'regexp';
sfcn = {'regexpi','regexprep','regexptranslate','strcmp','strfind'};
assert(isequal(seeAlso(fcn),sfcn))
sc =
'regexpi' 'regexprep' 'regexptranslate' 'strcmp' 'strfind'
|
3 | Pass |
%%
fcn = 'why';
sfcn = {};
assert(isequal(seeAlso(fcn),sfcn))
sc =
Empty cell array: 1-by-0
|
4 | Pass |
%%
fcn = 'who';
sfcn = {'whos','clear','clearvars','save','load'};
assert(isequal(seeAlso(fcn),sfcn))
sc =
'whos' 'clear' 'clearvars' 'save' 'load'
|
5 | Pass |
%%
fcn = 'which';
sfcn = {'dir','help','who','what','exist','lookfor'};
assert(isequal(seeAlso(fcn),sfcn))
sc =
'dir' 'help' 'who' 'what' 'exist' 'lookfor'
|
6 | Pass |
%%
fcn = 'what';
sfcn = {'dir','who','which','lookfor'};
assert(isequal(seeAlso(fcn),sfcn))
sc =
'dir' 'who' 'which' 'lookfor'
|
7 | Pass |
%%
fcn = 'sumabs';
sfcn = {'meanabs','sumsqr','meansqr'};
assert(isequal(seeAlso(fcn),sfcn))
sc =
'meanabs' 'sumsqr' 'meansqr'
|
8 | Pass |
%%
fcn = 'bsxfun';
sfcn = {'repmat','arrayfun'};
assert(isequal(seeAlso(fcn),sfcn))
sc =
'repmat' 'arrayfun'
|
9 | Pass |
%%
fcn = 'mat2cell';
sfcn = {'cell2mat','num2cell'};
assert(isequal(seeAlso(fcn),sfcn))
sc =
'cell2mat' 'num2cell'
|
10 | Pass |
%%
fcn = 'cell2mat';
sfcn = {'mat2cell','num2cell'};
assert(isequal(seeAlso(fcn),sfcn))
sc =
'mat2cell' 'num2cell'
|
11 | Pass |
%%
fcn = 'cumprod';
sfcn = {'cumsum','sum','prod'};
assert(isequal(seeAlso(fcn),sfcn))
sc =
'cumsum' 'sum' 'prod'
|
12 | Pass |
%%
fcn = 'hankel';
sfcn = {'toeplitz'};
assert(isequal(seeAlso(fcn),sfcn))
sc =
'toeplitz'
|
13 | Pass |
%%
fcn = 'uisetcolor';
sfcn = {'inspect','propedit','uisetfont'};
assert(isequal(seeAlso(fcn),sfcn))
sc =
'inspect' 'propedit' 'uisetfont'
|
14 | Pass |
%%
fcn = 'matlab';
sfcn = {};
assert(isequal(seeAlso(fcn),sfcn))
sc =
Empty cell array: 1-by-0
|
15 | Pass |
%%
fcn = 'crazy';
sfcn = {};
assert(isequal(seeAlso(fcn),sfcn))
sc =
Empty cell array: 1-by-0
|
5168 Solvers
193 Solvers
Number of 1s in the Binary Representation of a Number
319 Solvers
80 Solvers
Matrix with different incremental runs
194 Solvers