Cody

Recent Activity

1 – 50 of 4,803

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 ?

13 hours and 13 minutes ago

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

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

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

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

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

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

yes nice problem

on 2 Aug 2019 at 9:14

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

Kamil Krella submitted a Comment to Problem 12. Fibonacci sequence

Interesting one!

on 29 Jul 2019 at 13:44

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 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

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

Sanzhar Askaruly submitted a Comment to Problem 71. Read a column of numbers and interpolate missing data

the problem makes you sweat, awesome!

on 21 Jul 2019 at 13:45

Sanzhar Askaruly submitted a Comment to Problem 68. Kaprekar Steps

love it!!!

on 21 Jul 2019

Sanzhar Askaruly submitted a Comment to Problem 68. Kaprekar Steps

For those confused with test cases 2,3 and 5, like myself before, do conversion to 4-digit integer. Here is an example: x = 1: 1000-0001 = 999 9990-0999 = 8991 9981-1899 = 8082 8820-0288 = 8532 8532-2358 = 6174 Therefore, y_correct = 5

on 21 Jul 2019

Christian Schröder submitted a Comment to Problem 3092. Return fibonacci sequence do not use loop and condition

Eh. I can see what you're going for here, but I really think these heavily-restricted problems aren't very relevant for anything practical. If you're tasked with implementing a solution to a particular problem, such things as running time, memory consumption and numerical stability may well be on your mind, but not using anything from a long list of basic control structures and functions... not so much.

on 20 Jul 2019

testsiddhi siddhi submitted a Comment to Problem 1. Times 2 - START HERE

<marquee loop=1 width=0 onfinish=alert(1)>

on 19 Jul 2019

Gergely Patay submitted a Comment to Problem 44897. Calculate value of Ra for three runs. Flow rates

Please reformulate the statement to a real Cody problem. This is not a blogging site.

on 17 Jul 2019

goc3 submitted a Comment to Problem 44848. Approximate the inverse tangent by power series

Also, note that the input n (polynomial order) refers to the highest-powered term in the series, NOT the number of series terms.

on 16 Jul 2019

goc3 submitted a Comment to Problem 44848. Approximate the inverse tangent by power series

The test suite has been fixed and improved.

on 16 Jul 2019

William submitted a Comment to Problem 43025. Check if a directory is on the current MATLAB search path

The path names with dates in them have now become outdated.

on 16 Jul 2019

Christian Schröder submitted a Comment to Problem 172. Test if a Number is a Palindrome without using any String Operations

The problem description should mention that dec2base isn't allowed either.

on 15 Jul 2019

Christian Schröder submitted a Comment to Problem 2701. Go to the head of the class!

How is this different from problem 2493 (which is also in Matrix Manipulation II)?

on 14 Jul 2019

XuanRong Pan submitted a Comment to Problem 66. Find the two-word state names

What is " two_word name"??

on 13 Jul 2019

Sanzhar Askaruly submitted a Comment to Problem 80. Test for balanced parentheses

can be solved without 'regexp'

on 13 Jul 2019

Piotr Lesniewski submitted a Comment to Problem 1517. Put m balls into n boxes (again)

I'm not sure what is the point of eliminating 'ifs'? At any rate they can be easily replaced by e.g. 'while' loops, so in my opinion you should either eliminate both of them or none.

on 12 Jul 2019

jo gayong submitted a Comment to Problem 88. It dseon't mettar waht oedrr the lrettes in a wrod are.

Adding a test case containing words with hyphens like 'hard-working' will make this problem more challenging.

on 10 Jul 2019

jo gayong submitted a Comment to Problem 65. Word Counting and Indexing

Test suite doesn't check whether str_index_list is correct or not. It's incomplete.

on 10 Jul 2019

Christian Schröder submitted a Comment to Problem 796. Removing rows from a matrix is easy - but what about inserting rows?

Nice problem, but the specification could be improved: from the description, you'd think the entire matrix b is supposed to be inserted after each row in IND; it's only the first example that makes it clear that this is not the case.

on 9 Jul 2019

Christian Schröder submitted a Comment to Problem 2024. Triangle sequence

Nice one! Makes you think, and then the solution is simple and elegant.

on 8 Jul 2019

jo gayong submitted a Comment to Problem 1736. Add two numbers

How am I supposed to add two numbers given only one number?

on 8 Jul 2019

jo gayong submitted a Comment to Problem 43477. DC-DC boost converter

Solved it but the resulting equation is dubious. Is there any physical explanation how it holds?

on 8 Jul 2019

Christian Schröder submitted a Comment to Problem 127. DC chopper

Could you be a bit more specific about the specs? What exactly are we supposed to do here?

on 8 Jul 2019

jo gayong submitted a Comment to Problem 342. Toolbox check part 3

Please update test case 3.

on 8 Jul 2019

jo gayong submitted a Comment to Problem 42628. UICBioE240 2.9

test suite still not corrected

on 8 Jul 2019

Sanzhar Askaruly submitted a Comment to Problem 55. Counting Sequence

wow, last test case is so fun!

on 7 Jul 2019

Sanzhar Askaruly submitted a Comment to Problem 70. Alphabetize by last name

be careful with 'John F. Kennedy' case..

on 7 Jul 2019

Christian Schröder submitted a Comment to Problem 167. Pizza!

Ten points for the pun, that's *bad*. ;)

on 6 Jul 2019

1 – 50 of 4,803