Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Solution 215934

Submitted on 11 Mar 2013

Incorrect

40Size
Leading solution size is 16.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test
Code Input and Output
1
Fail
 
%%
fcn = 'help';
sfcn = {'doc','docsearch','lookfor','matlabpath','which'};
assert(isequal(seeAlso(fcn),sfcn))
Error: Assertion failed.
2
Fail
 
%%
fcn = 'regexp';
sfcn = {'regexpi','regexprep','regexptranslate','strcmp','strfind'};
assert(isequal(seeAlso(fcn),sfcn))
Error: Assertion failed.
3
Fail
 
%%
fcn = 'why';
sfcn = {};
assert(isequal(seeAlso(fcn),sfcn))
Error: The server did not find a resource to match this request.
4
Fail
 
%%
fcn = 'who';
sfcn = {'whos','clear','clearvars','save','load'};
assert(isequal(seeAlso(fcn),sfcn))
Error: Assertion failed.
5
Fail
 
%%
fcn = 'which';
sfcn = {'dir','help','who','what','exist','lookfor'};
assert(isequal(seeAlso(fcn),sfcn))
Error: Assertion failed.
6
Fail
 
%%
fcn = 'what';
sfcn = {'dir','who','which','lookfor'};
assert(isequal(seeAlso(fcn),sfcn))
Error: Assertion failed.
7
Fail
 
%%
fcn = 'sumabs';
sfcn = {'meanabs','sumsqr','meansqr'};
assert(isequal(seeAlso(fcn),sfcn))
Error: The server did not find a resource to match this request.
8
Fail
 
%%
fcn = 'bsxfun';
sfcn = {'repmat','arrayfun'};
assert(isequal(seeAlso(fcn),sfcn))
Error: Assertion failed.
9
Pass
 
%%
fcn = 'mat2cell';
sfcn = {'cell2mat','num2cell'};
assert(isequal(seeAlso(fcn),sfcn))

                    
10
Pass
 
%%
fcn = 'cell2mat';
sfcn = {'mat2cell','num2cell'};
assert(isequal(seeAlso(fcn),sfcn))

                    
11
Fail
 
%%
fcn = 'cumprod';
sfcn = {'cumsum','sum','prod'};
assert(isequal(seeAlso(fcn),sfcn))
Error: Assertion failed.
12
Fail
 
%%
fcn = 'hankel';
sfcn = {'toeplitz'};
assert(isequal(seeAlso(fcn),sfcn))
Error: Assertion failed.
13
Fail
 
%%
fcn = 'uisetcolor';
sfcn = {'inspect','propedit','uisetfont'};
assert(isequal(seeAlso(fcn),sfcn))
Error: Assertion failed.
14
Fail
 
%%
fcn = 'matlab';
sfcn = {};
assert(isequal(seeAlso(fcn),sfcn))
Error: The server did not find a resource to match this request.
15
Fail
 
%%
fcn = 'crazy';
sfcn = {};
assert(isequal(seeAlso(fcn),sfcn))
Error: The server did not find a resource to match this request.