I keep failing the 'assert(isequal(x,xb))' part of the last test.
Can someone please give me some ideas on how to fix it?
Lincoln> I also had the same issue but figured out the cause. In my case, I was computing P by "P = uint8((-1+sqrt(8*M+1))/2);" but this causes a problem for a large M. After I modified it to "P = round((-1+sqrt(8*M+1))/2);", the error has been solved.
Remove the air bubbles
Energy of a photon
Basic electricity in a dry situation
Matrix with different incremental runs
Is it really a 5?
Convert RGB triplet to ColorSpec string
The Python Challenge, Level 1: Decode strings
Pentago: find winning move
SET (the card game)
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office