why the given result is in the format of cell,not char,why 'amdw'~='admw',which my matlab only give the latter,rather than the former one
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
x = 2639;
y_correct = {'amdw';'amdx';'amdy';'amdz';'amew';'amex';'amey';'amez';'amfw';'amfx';'amfy';'amfz';'andw';'andx';'andy';'andz';'anew';'anex';'aney';'anez';'anfw';'anfx';'anfy';'anfz';'aodw';'aodx';'aody';'aodz';'aoew';'aoex';'aoey';'aoez';'aofw';'aofx';'aofy';'aofz';'bmdw';'bmdx';'bmdy';'bmdz';'bmew';'bmex';'bmey';'bmez';'bmfw';'bmfx';'bmfy';'bmfz';'bndw';'bndx';'bndy';'bndz';'bnew';'bnex';'bney';'bnez';'bnfw';'bnfx';'bnfy';'bnfz';'bodw';'bodx';'body';'bodz';'boew';'boex';'boey';'boez';'bofw';'bofx';'bofy';'bofz';'cmdw';'cmdx';'cmdy';'cmdz';'cmew';'cmex';'cmey';'cmez';'cmfw';'cmfx';'cmfy';'cmfz';'cndw';'cndx';'cndy';'cndz';'cnew';'cnex';'cney';'cnez';'cnfw';'cnfx';'cnfy';'cnfz';'codw';'codx';'cody';'codz';'coew';'coex';'coey';'coez';'cofw';'cofx';'cofy';'cofz';};
assert(isequal(string_perms(x),y_correct))
Error: License checkout failed.
License Manager Error -5
Cannot find a license for Symbolic_Toolbox.
Troubleshoot this issue by visiting:
<a href="http://www.mathworks.com/support/lme/R2012b/5">http://www.mathworks.com/support/lme/R2012b/5</a>
Diagnostic Information:
Feature: Symbolic_Toolbox
License path: 13501@10.206.97.41:13501@10.10.207.33:/tmp/matlabpref/.matlab/R2012b_licenses:/opt/mlsedu/matlab/R2012b/licenses/license.dat:/opt/mlsedu/matlab/R2012b/licenses
Licensing error: -5,0.
|
88 Solvers
Sum the entries of each column of a matrix which satisfy a logical condition.
136 Solvers
274 Solvers
Detect a number and replace with two NaN's
178 Solvers
Side of an equilateral triangle
2595 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!