Solved


Blockland
Add a new block to these towers without letting them fall. To add a new block just choose the x-coordinate (between -10 and ...

11 years ago

Problem


Megan's walk
Can you make <http://www.mathworks.com/matlabcentral/fileexchange/51139-megan-simulator--xkcd- Megan> (a stick-figure model of t...

11 years ago | 3 | 8 solvers

Problem


the proud tradition of zero scores in Cody
The short version is: *_your function should return a zero and also have a zero score/size_* The long version comes with a li...

11 years ago | 1 | 12 solvers

Solved


Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

11 years ago

Answered
Check if a graphics object is visible to the user
While it is simple to check which object is visible, e.g.: function ok = isvisible(handle) ok = true; while ok&&~isequal...

11 years ago | 1

| accepted

Solved


It's going down. We're finding simbers!
This problem is inspired by Project Euler 520: Simbers. "We define a simber to be a positive integer in which any odd digit, ...

11 years ago

Answered
How to import Excel data from a spreadsheet with cross-file references?
I clearly would not recommend this as a first choice, but if nothing else works then perhaps you can simply have Matlab open, sa...

11 years ago | 1

| accepted

Answered
how to average the close points ?
If you do not have "lines" of close points (the transitiveness issue that Walter mentioned), a simple and quick way to do this c...

11 years ago | 0

Solved


Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.

11 years ago

Solved


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

11 years ago

Question


solving a matrix exponential equation
I know this is perhaps a "methods" question rather than a purely "Matlab" question, but does anybody know or could point me towa...

11 years ago | 1 answer | 0

1

answer

Answered
Storing blocks of matrix data into a cell array
You may use <http://www.mathworks.com/help/matlab/ref/mat2cell.html mat2cell> for that. For example: rows = find(any(X,2)); ...

11 years ago | 1

| accepted

Solved


Faint Receipt
Suppose you have a receipt with some numbers that have been smudged or didn't print. In particular, the total amount is missing ...

11 years ago

Solved


Combined Ages 4 - Non-symmetric with multiples, n ≥ 3
This problem is slightly more difficult than <http://www.mathworks.com/matlabcentral/cody/problems/42383-combined-ages-3-non-sym...

11 years ago

Solved


Combined Ages 2 - Symmetric, n ≥ 3
Following on <http://www.mathworks.com/matlabcentral/cody/problems/42382-combined-ages-1-symmetric-n-3 Combined Ages 2>, you wil...

11 years ago

Solved


Combined Ages 3 - Non-symmetric, n ≥ 3
Pursuant to the previous two problems ( <http://www.mathworks.com/matlabcentral/cody/problems/42382-combined-ages-1-symmetric-n-...

11 years ago

Solved


Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

11 years ago

Solved


Dice roll - opposite faces
For this problem, you will be provided with the values of a dice roll (regular six-sided dice). The number of dice will be at le...

11 years ago

Solved


Dice roll - lateral faces
For this problem, you will be provided with the values of a dice roll (regular six-sided dice). The number of dice will be at le...

11 years ago

Submitted


Megan Simulator (XKCD)
Stick-figure model

11 years ago | 1 download |

5.0 / 5
Thumbnail

Solved


Recursive Standard Deviation
When you have a large set of data, it can be resource consuming to calculate standard deviation at every step. So why not calcul...

11 years ago

Solved


Bouncy numbers
Inspired by Project Euler n°112. * * Working from left-to-right if no digit is exceeded by the digit to its left it is call...

11 years ago

Solved


The Python Challenge, Level 1: Decode strings
This problem is based on <http://www.pythonchallenge.com/pc/def/map.html Level 1 of The Python Challenge>, which is just a serie...

11 years ago

Answered
Generate arrow keys in MATLAB gui
The cdata approach is probably simpler. First check that variable rarrow_img contains the correct 3D matrix format (see th...

11 years ago | 0

| accepted

Solved


Days until next NewYear ball drop
Given a date string in the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', calculate the number of *days* until the dropping of the ...

11 years ago

Solved


Square a Number
Given an input x, return y, which is equal to the square of x.

11 years ago

Solved


Average valid values of arrays
Given a 1D array (column or row vector), compute the average of valid values. Valid values are defined via two thresholds: minVa...

11 years ago

Solved


Can't wait for NewYear ball drop !
Given an input string of the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', return a string message indicating how many days, hours...

11 years ago

Solved


Find relation between x and y.
if 1 = 2 2 = 9 3 = 28 How is x related with y?

11 years ago

Solved


Cost computation and Display
Given a positive number of pens, a cost is computed and displayed. One Pen costs 1.99 dollars

11 years ago

Load more