Hello BinBin,
This is a good problem! But I am wondering: In the test suite, shouldn't the statement "tt = mat2cell(s,[3,3,3],[3,3,3]);" be inside the for-loop?
@William, Thank you very much, you are right. I will fix it later because I can't edit it now.
I have fix it. Thanks you. @William
Find relatively common elements in matrix rows
865 Solvers
2200 Solvers
Number of 1s in the Binary Representation of a Number
358 Solvers
399 Solvers
278 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!