Top 1% contributor
Knots Dataset from Contest
1 year ago
The related <http://www.mathworks.com/matlabcentral/cody/problems/1856-molecule-atomic-wt-chons-molecules Cody Challenge> was so...
Answered 2 years ago
Create a vector of length N for an integer of N digits.
x_vec=[1 2 3 0 4 5];
I happened upon a trick to do ...
3 years ago
The rules have a minor typo in that the printed table does not replace the 15 with the 20. Minor confusion. raz
4 years ago
I can't run the winning solution. It calls "nanmin" which is a special statistics toolbox function. Per the rules this is not a...
2 years ago
I want a meeting with the League Commissioner. My "Million saru #7" utilized str2num to maximally minimize the code size. The ...
Time Instability of +/- 2 seconds is a little large. Tweaks should suffer the uncertainty of 50 msec in timing. However, I am ...
I have re-run try146 which is leading with a score of 1307.67 and a time of 46.97. The duplicate file re-run, try146 timechk, ...
The time change appears to have crashed the statistics automatic update.
The new grade function appears to undercount knots. The latest download using function "grade" returns Zero knots for the rules...
3 years ago
I created a Cody Challenge <http://www.mathworks.com/matlabcentral/cody/problems/1856-molecule-atomic-wt-chons-molecules Molecul...
m = randi(4, 9, 9)
newvalue = 5;
% determine qty of values 1 thru 4, a(1) qty 1, a(4) number 4s
For variables use symvar(str). It will create a cell array of variable names.
Finding "built-in" functions can be performed u...
Answered 3 years ago
Given a molecular equation string determine its atomic weight.
Limited atoms of C H O N and S where wts are rounded to [12 1 ...
2 years ago
Given a Cody Challenge number return its Title.
*Input:* Cody Challenge Number
*Output:* Title of the Cody Challenge
This Challenge is to demonstrate usage of varargout.
Output a cell array using varargout of magic squares of size 1 thru n.
The Challenge is to return the McCabe complexity for various functions.
One way to determine the McCabe Complexity is to use ...
Find the Index of the first occurrence of the maximum value in a vector and also the maximum value in the vector.
The <http://en.wikipedia.org/wiki/Langton%27s_ant Langston's Ant> Challenge is to determine the number of Black squares after K ...
What is the current Cody Matlab Release?
'(R2012a)' or 'R2012a'
Hint: We have mo...
Given a vector of experimental data, D, and a vector of truth data, T, return FALSE if any +/- errors (D-T) are outside a given ...
A little warm-up to begin...
An n-digit number is pandigital if it makes use of all the digits 1 to n exactly ONCE.
Just find the number of columns of the given matrix.
x = [1 2
y = 2
This Challenge is derived from <http://code.google.com/codejam/contest/2974486/dashboard#s=p3 GJam 2014 Qualifier Deceitful War>...
This Challenge is derived from <http://code.google.com/codejam/contest/837485/dashboard#s=p2 GJam 2011 Africa: Building a House>...
This Challenge is derived from <http://code.google.com/codejam/contest/837485/dashboard#s=p1 GJam 2011 Africa: Investing at the ...
This Challenge is derived from <http://code.google.com/codejam/contest/837485/dashboard GJam 2011 Africa: Closing the Loop>. Sma...
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0".
Sum the 'edge' values of an input matrix (the values along the perimeter).
[1 2 3
4 5 6
7 8 9]
Output = ...
You need to build a wall to enclose a certain area. Calculate the available area after you build the wall.
Join the conversation