Previous Problem https://www.mathworks.com/matlabcentral/cody/problems/45354-connect-four-01
In addition to previous problem
In this case, there can be empty places on the board represented by 0.
Also no of consecutive elements can be more than 4.
I get the different answer about test 4
can u be more specific about what answer r u getting?
that's the answer my program is giving me.
@Asif Newaz, in the test4, I get
Maybe I got it wrong, I will try again
@Asif Newaz, ok , the test is right, I got it wrong
Add two numbers
Duplicate each element of a vector.
Sum the entries of each column of a matrix which satisfy a logical condition.
Generate a random matrix A of (1,-1)
Cat's paw - 01
Count the days
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