Problem 196. love is an n-letter word
Solution Stats
Problem Comments
-
4 Comments
does somebody understand why
diff( ‘test’ )
in my solution 19016 causes this error
Error: License checkout failed.
License Manager Error 0
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".
Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2011b/0
Diagnostic Information:
Feature: MATLAB_Distrib_Comp_Engine
License path: 13501@10.206.97.41:13501@10.195.79.113:/tmp/matlabpref/.matlab/R2011b_licenses:/opt/mlsedu/matlab/R2011b/licenses/license.dat:/opt/mlsedu/matlab/R2011b/licenses
FLEXnet Licensing error: 0,0.
it doesn’t in my local Matlab ( 2011a )
apparently it tries to call an overloaded diff ( probably from the symbolic toolbox ) for which it doesn’t have a license
@Martijn: I am not sure why that is happening but in the meantime using "diff(double('test'))" should work fine
fixed look-up table hack
Solution Comments
-
1 Comment
sorry about the needed hack to match the test suite solutions, I have clarified the text and corrected the test suite so that now in cases of multiple optima your function may return any one of them.
-
2 Comments
nice exhaustive search
After some attempts, I reached also a kind of solution like this...
Problem Recent Solvers36
Suggested Problems
-
1679 Solvers
-
4766 Solvers
-
170 Solvers
-
Find perfect placement of non-rotating dominoes (easier)
302 Solvers
-
Selecting books on MATLAB for experts and beginners (blindfolded)
74 Solvers
More from this Author38
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!