Solved


center of mass
R is a given matrix with size [n,2]. R(i,:) is interpreted as the 2D-position of a mass point with mass i. Calculate the center ...

7 years ago

Solved


house of cards
How many cards do one need to build a house of cards with n stages? Short explanation: /\ 2 cards for 1 stage ...

7 years ago

Solved


USC Spring 2013 ACM: Snow Cones
This Challenge is to solve the <http://contest.usc.edu/index.php/Spring13/Home USC Spring 2013 ACM Contest> Problem F, Snow Cone...

7 years ago

Solved


GJam 2013 Veterans: Baby Height Prediction
This Challenge is derived from <http://code.google.com/codejam/contest/2334486/dashboard#s=p1 GJam 2013 Veterans Baby Height>. O...

7 years ago

Solved


Fill-a-pix - Solution Checker
<http://www.conceptispuzzles.com/index.aspx?uri=puzzle/fill-a-pix/rules Fill-a-pix> is a logic puzzle game similar to Pic-a-Pix ...

7 years ago

Solved


GJam March 2016 IOW: Password Single
This Challenge is derived from <http://code.google.com/codejam/contest/8274486/dashboard#s=p3 GJam March 2016 Annual I/O for Pas...

7 years ago

Solved


GJam March 2016 IOW: Polynesiaglot Large
This Challenge is derived from <http://code.google.com/codejam/contest/8274486/dashboard#s=p2 GJam March 2016 Annual I/O for Pol...

7 years ago

Solved


GJam March 2016 IOW: Polynesiaglot Medium
This Challenge is derived from <http://code.google.com/codejam/contest/8274486/dashboard#s=p2 GJam March 2016 Annual I/O for Pol...

7 years ago

Solved


GJam 2011 Africa Qualifier C: House, maximum area rectangle
This Challenge is derived from <http://code.google.com/codejam/contest/837485/dashboard#s=p2 GJam 2011 Africa: Building a House>...

7 years ago

Solved


Langston's Ant
The <http://en.wikipedia.org/wiki/Langton%27s_ant Langston's Ant> Challenge is to determine the number of Black squares after K ...

7 years ago

Solved


Elastic Collision 001: 1-D
Elastic Collision of two particles. <http://en.wikipedia.org/wiki/Elastic_collision wiki Elastic Collision> Solve Conservat...

7 years ago

Solved


Visualization of experimental data across a surface
Assume that you have taken data across the surface of a sample, for example sheet resistance. The data is stored in a Nx3 matri...

7 years ago

Solved


Besson Ranks
Return Besson Ranks. You can look at <https://www.sciencedirect.com/science/article/pii/0895717789903671 this article.> Besso...

7 years ago

Solved


cos for boss?
a programmer had too much coffee and his boss needs cos(alpha+beta) correctly, especially when alpha or beta are close to pi/2 a...

7 years ago

Solved


Are you more familiar with iteration methods or Linear Algebra? Let's see together.
Given a sum result *_x_* value of a *_N_* number of addends, build an array of _*N*_ elements _*y*_ such that the following equa...

7 years ago

Solved


Matlab Basics II - Find the roots of a function
Write a function that finds where a curve crosses zero (the x-axis) to two decimal places Example: <<http://s14.postimg.o...

7 years ago

Solved


Number of paths on a n-dimensional grid
This problem is inspired by <https://www.mathworks.com/matlabcentral/cody/problems/1483-number-of-paths-on-a-grid> and <https:/...

7 years ago

Solved


Impement str2cell
You are given a String that is equivalent to a cell array of scalars or vectors. Transform this String to its equivalent Cell a...

7 years ago

Solved


Linear Least Squares (L2 fitting problem )
Given a set of real measurements (x(i), y(i)) find a line sol(1)x + sol(2) (more specifically furnish the vector with...

7 years ago

Solved


Convert hex color specification to MATLAB RGB
Here's something that comes up all the time if you deal with web pages. Given a <http://www.w3schools.com/html/html_colors.as...

7 years ago

Solved


Criss_Cross_010 : Unique elements, Square array, Words in one array
Criss Cross matrix puzzle - Square matrix, Unique elements, Single Word List Arrange the "words" into a solid square such tha...

7 years ago

Solved


Criss_Cross_000 : Unique elements in a Square array
Criss Cross matrix puzzle - Easy: Square matrix, Unique elements Arrange the "words" into a solid square such that all words ...

7 years ago

Solved


jogging?
Imagine x-y coordinate system and you are at the origin and your partner is on the x-axis at some small distance (d) away from y...

7 years ago

Solved


Code breaker, Part II: Operation Orthos
You have been tasked with decoding several batches of coded messages that have been intercepted. Based on previous intellig...

7 years ago

Solved


fractal circles
Create a fractal with circles using the same process as the Sierpinski triangle (https://en.wikipedia.org/wiki/Sierpinski_trian...

7 years ago

Solved


[Thermodynamics] Estimate boiling point of n-alkanes
Estimate the boiling point (in Kelvin) of n-Alkanes (n >= 2) using the group contribution method of Joback --- ...

7 years ago

Solved


Arithmetic/geometric sequence, 50/50
a(1) = 0 a(2) = 1 a(2*N) = sqrt(a(2*N-1)*a(2*N+1)) a(2*N+1) = (a(2*N)+a(2*N+2))/2 given _n_ return _a(n)_

7 years ago

Solved


Get ranking of a combination looking for speed.
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to...

7 years ago

Solved


Project Euler: Problem 18, Maximum path sum I
By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bott...

7 years ago

Solved


Hilbert Scan Algorithm
As Zig-Zag and Horizontal ... we have also a < <Hilbert> <Scan> > as shown in this article <http://link.springer.com/chapter/10....

7 years ago

Load more