y_correct of Test case #1 is wrong; it requires [ ].
Case 1: [0;1]
test case 1 should be [0;1] ?
I cleaned up the problem statement and fixed the first test.
Not sure why type 'double' is invalid here. It worked in my MATLAB 2020b.
best among the best
Can we not use de2bi function?
Not what I would call "best": it is a Cody-specific hack.
error in case 1, undoable
% This is the same as problem 34.
Project Euler: Problem 1, Multiples of 3 and 5
peta to nano (x-ray)
middleAsColumn: Return all but first and last element as a column vector
07 - Common functions and indexing 1
07 - Common functions and indexing 4
Diagonal & Anti-Diagonal Matrix: Easy
~~~~~~~ WAVE ~~~~~~~~~
COUNT VOWEL 2
Make combination of two given matrices.
BULLSEYE Part 2: Reference Problem 18 BULLSEYE
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