Cody

Recent Activity

1 – 50 of 9,837

saleh abdulmalik submitted a Comment to Problem 44273. Given a square and a circle, please decide whether the square covers more area.

isnt the test suite with sq= rand and ci = rand a faulty one ? and the last test suite, whats with the numbers 3>7? why isnt it variable testing ?

16 hours and 24 minutes ago

Daniel Cook submitted a Comment to Solution 134992

I can't believe it is this simple. lol.

on 18 Aug 2019 at 20:10

Nikolaos Nikolaou submitted a Comment to Problem 1696. Morse Code Generator! Try it!

please either fix it or remove it from the Strings II badge list

on 18 Aug 2019 at 18:02

saleh abdulmalik submitted a Comment to Solution 1812725

exactly !

on 18 Aug 2019 at 17:54

Nikolaos Nikolaou submitted a Comment to Problem 1499. Kryptos - CIA Cypher Sculpture: Vigenere Encryption

test suite is broken please fix it

on 17 Aug 2019 at 8:53

frank mcnally submitted a Comment to Problem 838. Check if number exists in vector

Tests allow incorrect solution to pass: function y = existsInVector(a,b) y=0 for i = 1:numel(b); if i==a y=1 break end end end

on 15 Aug 2019 at 17:42

Guillaume submitted a Comment to Solution 1894663

The version of matlab is not going to affect the result. This solution removes punctuation from the input, so the '.' at the end of sentence in the second test is incorrectly removed.

on 15 Aug 2019 at 16:35

Isha Desai submitted a Comment to Solution 1894663

Which version of MATLAB are you using on your desktop? I tried running your solution on MATLAB desktop version 2019a and the solution is failing with correct assertions. In order to figure out the version of MATLAB, command "ver' will get you the version.

on 15 Aug 2019 at 15:32

goc3 submitted a Comment to Problem 44940. Get Next Combination

Good problem!

on 15 Aug 2019 at 11:48

Sanzhar Askaruly submitted a Comment to Problem 75. Find the palindrome

Useful!

on 13 Aug 2019 at 12:47

John Johni submitted a Comment to Problem 44685. Draw 'B'

PLS add U and S in this group.

on 12 Aug 2019 at 8:01

Adam submitted a Comment to Problem 44309. Pi Digit Probability

It is a shame vpa does not work, this could lead to some more interesting challenges

on 12 Aug 2019 at 7:30

Ethan Zhang submitted a Comment to Solution 1637419

Absolutely for the tests...

on 11 Aug 2019 at 12:46

Sanzhar Askaruly submitted a Comment to Problem 24. Function Iterator

new concept for me after 3 years. now gotta use

on 11 Aug 2019 at 7:05

Sanzhar Askaruly submitted a Comment to Problem 66. Find the two-word state names

if i would grasp all regexp possibilities in depth.. makes me cry

on 11 Aug 2019 at 2:53

Sanzhar Askaruly submitted a Comment to Problem 96. Knight's Tour Checker

easier than I expected

on 9 Aug 2019 at 13:22

Andrew Burr submitted a Comment to Problem 167. Pizza!

nice

on 9 Aug 2019 at 9:58

Yuumi Ozaki submitted a Comment to Solution 1895606

Why can't 71 be true?

on 9 Aug 2019 at 6:40

Abi Bowler submitted a Comment to Solution 1894663

I've tried the assert in MATLAB on my desktop and it doesn't throw an error... so I'm not really sure where it's gone wrong here. I'm guessing it's something tiny I've missed. Any help?

on 8 Aug 2019 at 10:38

liu xinyang submitted a Comment to Solution 1893405

This test program is wrong.To judge a leap year, you need to calculate if the following condition is satisfied mod(year,4)==0 & mod(year,100)~=0 & mod(year,400)==0. However, this team only count those years that mod(year,4)==0

on 7 Aug 2019 at 3:22

Banister submitted a Comment to Problem 24. Function Iterator

That was tough ! New to sub-functions and getting the syntax correct (understanding it ) was tricky. Arguments in - out shake them all about.

on 5 Aug 2019 at 12:11

Manfred Germain submitted a Comment to Problem 8. Add two numbers

function c = addo(a,b) c= a+b; end %I did the above, Why does it say it's wrong?

on 3 Aug 2019 at 16:55

Manfred Germain submitted a Comment to Solution 1891250

Why is this wrong here? I checked using matlab on my laptop and it works.

on 3 Aug 2019 at 16:53

VISHWATEJ N submitted a Comment to Solution 98447

i need the code part of 3rd test case .. can anyone help

on 2 Aug 2019 at 12:21

Nikolaos Nikolaou submitted a Comment to Solution 1890020

Why is the test suite not visible ? Is it me (firefox display issue) or it is supposed to be that way?

on 2 Aug 2019 at 9:52

jack walker submitted a Comment to Solution 1889988

This is confusing because the notation does not match the diagram

on 2 Aug 2019 at 9:22

jack walker submitted a Comment to Problem 2016. Area of an equilateral triangle

yes nice problem

on 2 Aug 2019 at 9:14

saleh abdulmalik submitted a Comment to Solution 1889760

in the test suite, test number 3 tests for vector [0 0 0 0 0] if it is monotically increasing, but in the assertion it claims it is false, meaning it is not monotically increasing, which i dont think is true. the assertion should check it as true. this is from wikipedia: [ A function is called monotonically increasing if for all x and y such that x <= y one has f(x)<=f(y) ] the (issorted) function should be enough to check for monotically increasing.

on 1 Aug 2019 at 21:39

Ivo Georgiev submitted a Comment to Solution 1888579

Mnogo cod si napisal ;-))))) probvai tova : b = ~isempty(intersect(a,a.^2))

on 31 Jul 2019 at 13:16

Nikolaos Nikolaou submitted a Comment to Problem 111. Find matching parenthesis

somehow i get that s='()' is there something wrong with the test suite?

on 30 Jul 2019 at 15:46

Rudolf Csikja submitted a Comment to Solution 1887205

A nice one-liner is always good :)

on 29 Jul 2019 at 14:03

Rudolf Csikja submitted a Comment to Solution 1887183

A nice opportunity to use toeplitz :)

on 29 Jul 2019 at 13:49

Kamil Krella submitted a Comment to Problem 12. Fibonacci sequence

Interesting one!

on 29 Jul 2019 at 13:44

danteliujie submitted a Comment to Solution 1294475

nice solution and comments

on 29 Jul 2019 at 8:05

Banister submitted a Comment to Problem 70. Alphabetize by last name

The change in output format was a pain !

on 28 Jul 2019 at 9:33

Sanzhar Askaruly submitted a Comment to Problem 49. Sums with Excluded Digits

simple but fun :)

on 28 Jul 2019 at 7:08

Ashish Khulbey submitted a Comment to Solution 1885342

This link can help: https://in.mathworks.com/help/matlab/ref/fliplr.html

on 27 Jul 2019 at 6:30

Ashish Khulbey submitted a Comment to Solution 1885341

My solution size is at least 6 times than the leading solution. I would like to be enlightened...

on 27 Jul 2019 at 6:26

Ashish Khulbey submitted a Comment to Solution 1884723

Problem statement itself includes the answer.

on 26 Jul 2019 at 10:13

Ashish Khulbey submitted a Comment to Solution 1884717

Sum of an Arithmetic Progression will get this problem done.

on 26 Jul 2019 at 10:11

Ashish Khulbey submitted a Comment to Solution 1884711

"Is the wife right?" Well definitely, 'yes'.

on 26 Jul 2019 at 10:08

Ashish Khulbey submitted a Comment to Problem 7. Column Removal

Great problem. Lets you dug deep into the documentation for an awesome solution. This link might help : https://in.mathworks.com/help/matlab/math/removing-rows-or-columns-from-a-matrix.html

on 26 Jul 2019 at 10:01

Junyi Ge submitted a Comment to Solution 1884473

keep trying

on 26 Jul 2019 at 2:38

Junyi Ge submitted a Comment to Solution 1884463

-0--

on 26 Jul 2019 at 2:28

Junyi Ge submitted a Comment to Solution 1884462

no

on 26 Jul 2019 at 2:27

Sarah Walls submitted a Comment to Solution 1882740

Why doesn't this solution work? Works just fine in my desktop program...

on 24 Jul 2019 at 12:55

fatma said submitted a Comment to Problem 44820. Relative pose in 2D: problem 2

Please I wanted a solution to run the farmers Designing Robot Manipulator Algorithms - MATLAB and Simulink Robotics Arena Because I do not need Dependencies file Please help me

on 23 Jul 2019 at 13:15

Panggah Prabawa submitted a Comment to Solution 1881463

Just convert the result to uint32 xd

on 23 Jul 2019 at 1:48

1 – 50 of 9,837