Cody doesn't have a license for the Fixed_Point_Toolbox? I'd expect Cody would be able to get a pretty sweet deal on it from The Mathworks.
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
x = single(1.25);
y_correct = '00111111101000000000000000000000';
assert(isequal(single2bin(x),y_correct))
Error: License checkout failed.
License Manager Error -5
Cannot find a license for Fixed_Point_Toolbox.
Make sure an INCREMENT line for Fixed_Point_Toolbox exists in the license file, and that the formatting of the license file is correct.
Troubleshoot this issue by visiting:
<a href="http://www.mathworks.com/support/lme/R2012a/5">http://www.mathworks.com/support/lme/R2012a/5</a>
Diagnostic Information:
Feature: Fixed_Point_Toolbox
License path: 13501@10.206.97.41:13501@10.10.207.33:/tmp/matlabpref/.matlab/R2012a_licenses:/opt/mlsedu/matlab/R2012a/licenses/license.dat:/opt/mlsedu/matlab/R2012a/licenses
Licensing error: -5,0.
|
2 | Fail |
%%
x = realmax('single');
y_correct = '01111111011111111111111111111111';
assert(isequal(single2bin(x),y_correct))
Error: License checkout failed.
License Manager Error -5
Cannot find a license for Fixed_Point_Toolbox.
Make sure an INCREMENT line for Fixed_Point_Toolbox exists in the license file, and that the formatting of the license file is correct.
Troubleshoot this issue by visiting:
<a href="http://www.mathworks.com/support/lme/R2012a/5">http://www.mathworks.com/support/lme/R2012a/5</a>
Diagnostic Information:
Feature: Fixed_Point_Toolbox
License path: 13501@10.206.97.41:13501@10.10.207.33:/tmp/matlabpref/.matlab/R2012a_licenses:/opt/mlsedu/matlab/R2012a/licenses/license.dat:/opt/mlsedu/matlab/R2012a/licenses
Licensing error: -5,0.
|
3 | Fail |
%%
x = realmin('single');
y_correct = '00000000100000000000000000000000';
assert(isequal(single2bin(x),y_correct))
Error: License checkout failed.
License Manager Error -5
Cannot find a license for Fixed_Point_Toolbox.
Make sure an INCREMENT line for Fixed_Point_Toolbox exists in the license file, and that the formatting of the license file is correct.
Troubleshoot this issue by visiting:
<a href="http://www.mathworks.com/support/lme/R2012a/5">http://www.mathworks.com/support/lme/R2012a/5</a>
Diagnostic Information:
Feature: Fixed_Point_Toolbox
License path: 13501@10.206.97.41:13501@10.10.207.33:/tmp/matlabpref/.matlab/R2012a_licenses:/opt/mlsedu/matlab/R2012a/licenses/license.dat:/opt/mlsedu/matlab/R2012a/licenses
Licensing error: -5,0.
|
4 | Fail |
%%
x = single(-1.625e21);
y_correct = '11100010101100000010111011001111';
assert(isequal(single2bin(x),y_correct))
Error: License checkout failed.
License Manager Error -5
Cannot find a license for Fixed_Point_Toolbox.
Make sure an INCREMENT line for Fixed_Point_Toolbox exists in the license file, and that the formatting of the license file is correct.
Troubleshoot this issue by visiting:
<a href="http://www.mathworks.com/support/lme/R2012a/5">http://www.mathworks.com/support/lme/R2012a/5</a>
Diagnostic Information:
Feature: Fixed_Point_Toolbox
License path: 13501@10.206.97.41:13501@10.10.207.33:/tmp/matlabpref/.matlab/R2012a_licenses:/opt/mlsedu/matlab/R2012a/licenses/license.dat:/opt/mlsedu/matlab/R2012a/licenses
Licensing error: -5,0.
|
Find state names that end with the letter A
707 Solvers
Find state names that start with the letter N
598 Solvers
Project Euler: Problem 7, Nth prime
521 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
277 Solvers
113 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!