Cody

Recent Activity

1 – 50 of 6,475

Kensuke Fujita submitted a Comment to Solution 1068856

What is wrong with this solution? Could you please help me?

19 hours and 31 minutes ago

Tyler Bendis submitted a Comment to Problem 149. Is my wife right?

Gets a good laugh

21 hours and 45 minutes ago

goc3 submitted a Comment to Problem 43585. Logarithm with base other than 'e'

The problem description has been improved and more test cases were added.

22 hours and 56 minutes ago

goc3 submitted a Comment to Problem 43573. Extract part elements of matrix into one new matrix

The problem description has been updated.

23 hours and 19 minutes ago

goc3 submitted a Comment to Solution 1068748

This is an easy workaround you may want to also disallow.

23 hours and 27 minutes ago

goc3 submitted a Comment to Problem 43564. Calculate sin(x) without sin(x)

A random test case was added to prevent hard-coded solutions.

23 hours and 37 minutes ago

goc3 submitted a Comment to Problem 43563. Calculate cosine without cos(x)

A random test case was added to prevent hard-coded solutions.

23 hours and 40 minutes ago

goc3 submitted a Comment to Problem 43561. ESEMPIO

What is the purpose of this problem?

23 hours and 47 minutes ago

goc3 submitted a Comment to Problem 43560. Calculate the hypotenuse of a right triangle without using ^ and sqrt ()

A random test case was added to prevent hard-coded workarounds.

on 30 Nov 2016 at 19:36

goc3 submitted a Comment to Problem 43546. Slope of the line passing through two points

The problem title and description have been improved and the test suite expanded.

on 30 Nov 2016 at 18:40

Preethi submitted a Comment to Solution 1066744

basic one

on 30 Nov 2016 at 9:05

goc3 submitted a Comment to Problem 43492. Create a square matrix with given conditions

The problem description and test suite have been improved.

on 29 Nov 2016 at 18:59

goc3 submitted a Comment to Problem 43479. Modulation index

As it stands, this problem only requires that the function return a single number. Please add additional test cases and rephrase the problem in general terms so that the function output must depend on its inputs.

on 29 Nov 2016 at 18:28

goc3 submitted a Comment to Problem 43477. DC-DC boost converter

As it stands, this problem only requires that the function return a single number. Please add additional test cases and rephrase the problem in general terms so that the function output must depend on its inputs.

on 29 Nov 2016 at 18:27

Tamir Suliman submitted a Comment to Solution 1065790

my solution was right and i tested it i m not sure what is going on function [tf] = is_it_odd(n) if rem(n,2)>0 tf='true'; else tf='false'; end end

on 29 Nov 2016 at 0:59

goc3 submitted a Comment to Problem 43284. Form a square matrix from four square sub-matrices

The title and description of this problem have been cleaned up. Also, its test suite has been expanded and improved.

on 28 Nov 2016 at 18:05

Kyoung Won Lee submitted a Comment to Problem 4. Make a checkerboard matrix

good

on 28 Nov 2016 at 2:33

suin kim submitted a Comment to Problem 4. Make a checkerboard matrix

It is good problem!

on 27 Nov 2016 at 9:04

Marvinccy submitted a Comment to Solution 1060680

It is weird that I've been wrong for twice.

on 25 Nov 2016 at 6:05

Soonkyu Baek submitted a Comment to Problem 4. Make a checkerboard matrix

nice!

on 23 Nov 2016 at 1:50

Peng Liu submitted a Comment to Solution 1058925

Eventually figured out the grouping method in this problem, which is not so obvious...

on 22 Nov 2016 at 20:02

goc3 submitted a Comment to Problem 43282. Analyze observation data

The problem description has been cleaned up and the test suite enhanced and expanded.

on 22 Nov 2016 at 19:04

goc3 submitted a Comment to Problem 43278. Make roundn function

The test suite has been enhanced and expanded.

on 22 Nov 2016 at 18:46

Peng Liu submitted a Comment to Problem 43667. Use a timetable to analyze a train timetable (Part 4)

Could you be more specific on the underlying relationship between the input (timetable) and output (mean duration)? That is, among which group are you calculating the mean duration? From your example, there are only 2 groups of destinations, i.e., BOS and NYC, but why there are 3 values in the output? What's the mapping behind? Also, your problems including Part 1, 4, 5 are all based on single test, which allows hard-coded solution to lead.

on 22 Nov 2016 at 18:08

James submitted a Comment to Solution 1008071

"function ans=<foo>" is working again? *shrug* OK.

on 21 Nov 2016 at 18:39

James submitted a Comment to Solution 1058067

I had no idea that Cody size was affected by the number of inputs into the function.

on 21 Nov 2016 at 18:35

Roche de Guzman submitted a Comment to Solution 1056854

amazing:)

on 19 Nov 2016 at 20:05

nine sama submitted a Comment to Solution 1056774

This is so cool !!!

on 19 Nov 2016 at 7:12

Peng Liu submitted a Comment to Problem 43658. When Was That Goal Scored?

Perhaps a new problem group dealing with string arrays, character arrays, and cell arrays of character vectors can be added on Cody.

on 18 Nov 2016 at 5:24

goc3 submitted a Comment to Problem 1632. Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)

The problem title and description were cleaned up.

on 18 Nov 2016 at 3:37

goc3 submitted a Comment to Problem 1366. Finding peaks

The test suite has been expanded.

on 18 Nov 2016 at 3:27

goc3 submitted a Comment to Problem 1273. Max index of 3D array

The test suite has been expanded.

on 18 Nov 2016 at 3:18

goc3 submitted a Comment to Problem 1193. Insert zeros into vector

The test suite has been expanded.

on 18 Nov 2016 at 3:12

goc3 submitted a Comment to Problem 1038. Change the sign of even index entries of the reversed vector

The test suite has been expanded.

on 18 Nov 2016 at 3:05

goc3 submitted a Comment to Problem 1035. Generate a vector like 1,2,2,3,3,3,4,4,4,4

The test suite has been expanded.

on 18 Nov 2016 at 2:59

goc3 submitted a Comment to Problem 888. Create a vector whose elements depend on the previous element

The test suite has been expanded.

on 18 Nov 2016 at 2:49

goc3 submitted a Comment to Problem 645. Getting the indices from a vector

I added six more test cases.

on 18 Nov 2016 at 2:33

Lucinda King submitted a Comment to Solution 1055011

I also have to use initial conditions of 2 and 3 to get the correct output... In Simulink I can use 1 and 1 and get a plot showing 1,1,2,3,5,8... etc. Unsure why the expected output here is different!

on 17 Nov 2016 at 10:10

Gyoung Deuk Kim submitted a Comment to Problem 41. Cell joiner

i don't know

on 17 Nov 2016 at 9:11

Aditya Jain submitted a Comment to Solution 1053996

How much time it takes in your MATLAB? There is a limit of 50 seconds for Cody

on 16 Nov 2016 at 18:57

suneel kumar Gaddam submitted a Comment to Solution 715240

Window is how many numbers you are adding together for every position

on 16 Nov 2016 at 10:14

Kin Sung Chan submitted a Comment to Solution 1053996

It runs well in my Matlab program.

on 16 Nov 2016 at 8:03

Lucinda King submitted a Comment to Solution 1050679

Thanks Jan! It's obvious now you point it out... Think I had been cody-ing too long at this point! :)

on 14 Nov 2016 at 8:22

jubin soni submitted a Comment to Problem 21. Return the 3n+1 sequence for n

a bit tricky but nice

on 13 Nov 2016 at 11:10

Junseok Yang submitted a Comment to Problem 157. The Hitchhiker's Guide to MATLAB

good

on 12 Nov 2016 at 15:48

Jan Orwat submitted a Comment to Solution 1050679

You don't need integrator1, then change Gain

on 11 Nov 2016 at 16:17

Lucinda King submitted a Comment to Solution 1050679

I really can't work out where I'm going wrong with this one! Any help is appreciated...

on 11 Nov 2016 at 12:25

yao gang submitted a Comment to Solution 1050564

remove ' diff ',but adds size -_-

on 11 Nov 2016 at 7:28

Binbin Qi submitted a Comment to Problem 43019. Iterative sum of digits of 2^n number

The last test is not correct. Could you check it ?

on 11 Nov 2016 at 6:05

1 – 50 of 6,475