문제를 풀었습니다


Return fibonacci sequence do not use loop and condition version 3
Calculate the nth Fibonacci number,return sequence Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... ...

대략 7년 전

문제를 풀었습니다


Compute the intersect point of line and plan
Compute the intersect point of line and plan. eg. line AB, the coordinate of A is (1,2,3) the coordinate of B is (-4,-5,-6...

대략 7년 전

문제를 풀었습니다


Seperate array to small section according to its index position
Given a integer n, we can generate a sequence [0,1,2,3,4,..., 2^n-1], then we separate it to two sequence according to their ind...

대략 7년 전

문제를 풀었습니다


Project Euler: Problem 14 Longest Collatz sequence(harder version)
This problem is a harder version of "Problem 44448. Project Euler: Problem 14 Longest Collatz sequence", because of time limits....

대략 7년 전

문제를 풀었습니다


Find the right number make the equation
Given positive integer number n, find the right positive integer number a, b , so that (1) sqrt(a + n * b) is a positive inte...

대략 7년 전

문제를 풀었습니다


Big Integer Sqrt
You will be given a big integer, you should return the square root of it. input: '16' output: '4' have fun!

대략 7년 전

문제를 풀었습니다


Make an anonymous function that has variable output
Make a anonymous function that has variable output. f = @(x)... the following equation→equation(s) as followed has(ve) ...

대략 7년 전

문제를 풀었습니다


PACMAT 09 - Awesome Tunnelling Ghosts, Equal Speed, 20 Lives, Game Download
The Classic PACMAN game brought to Cody. PACMAT requires clearing all the Yellow Dots. Twenty lives are available. Adjacent G...

대략 7년 전

문제를 풀었습니다


PACMAT 08 - Awesome Tunneling Ghosts, 2X Speed, 6 Lives, Game Download
The Classic PACMAN game brought to Cody. PACMAT requires clearing all the Yellow Dots. PACMAT moves at 2X Ghost speed. Six li...

대략 7년 전

문제를 풀었습니다


PACMAT 05 - Optimized Ghosts, PACMAT increasing speed, 12 Lives
The Classic PACMAN game brought to Cody. PACMAT requires clearing the Yellow Dots while avoiding the wandering ghosts in 12 l...

대략 7년 전

문제를 풀었습니다


PACMAT 04 - Optimized Ghosts, Equal Speed, 10 Lives
The Classic PACMAN game brought to Cody. PACMAT requires clearing at least 130 Yellow Dots while avoiding the wandering ghost...

대략 7년 전

문제를 풀었습니다


PACMAT - G03 Ghosts use minimum path to PACMAT; 3 Lives
The Classic PACMAN game brought to Cody. PACMAT requires clearing the board of Yellow Dots while not bumping into the wanderi...

대략 7년 전

문제를 풀었습니다


PACMAT 06 - Optimized Ghosts, Equal Speed, Inf Lives; Interactive Download
The Classic PACMAN game brought to Cody. PACMAT requires clearing all the Yellow Dots. Inf lives are available. Adjacent Ghos...

대략 7년 전

문제를 풀었습니다


PACMAT 07 - Optimized Ghosts, PAC 2X Ghost Speed, 4 Lives; Interactive Download
The Classic PACMAN game brought to Cody. PACMAT requires clearing all the Yellow Dots. PACMAT moves at 2X Ghost Speed, Four l...

대략 7년 전

문제를 풀었습니다


Television Screen Dimensions
Given a width to height ratio of a TV screen given as _w_ and _h_ as well as the diagonal length of the television _l_, return t...

대략 7년 전

문제를 풀었습니다


Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowe...

대략 7년 전

문제를 풀었습니다


Matrix of Multiplication Facts
This is James's daughter again, sneaking into his Cody account. Thanks to your help in my math class last year, I did great! B...

대략 7년 전

문제를 풀었습니다


Mean and standard deviation of times in string
Input(t) - cell of strings with times in format 'min:sec.ms' Output([m, s]) - two strings with mean and standard deviation wi...

대략 7년 전

문제를 풀었습니다


Split a given string from the first instance of a given character
A simple operation to split a given string into two substrings at the point where the desired character is first found. e.g. ...

대략 7년 전

문제를 풀었습니다


Block average ignoring NaN values
Given a matrix, calculate the block average of each disjoint sub-matrix while ignoring *NaN* values. Assume that the size of the...

대략 7년 전

문제를 풀었습니다


Matrix to 3-Column Matrix
Consider a matrix *A* such as A = [1 2 3 3 4 5 6; 2 3 4 5 6 7 8]; Can you convert this matrix to a three-column ...

대략 7년 전

문제를 풀었습니다


PONG 001: Player vs Wall, 4 Lives, Interactive download
Variation of the Original Classic PONG game brought to Cody. Attempt to keep the ball alive against a Wall. The ball speeds u...

대략 7년 전

문제를 풀었습니다


PACMAT - Ghosts maximize unique locations; 3 Lives
The Classic PACMAN game brought to Cody. PACMAT Ghosts Random requires clearing the board of Yellow Dots while not bumping in...

대략 7년 전

문제를 풀었습니다


Rubik's Mini Cube: Solve Randomized Cube in 11 Moves or Less; Score is by Time (msec)
The Challenge is to Near or Optimally Solve a thoroughly scrambled Mini-Rubik's Cube(2x2x2). Any Mini-Cube can be solved in 1...

대략 7년 전

문제를 풀었습니다


Approximate the inverse tangent by power series
Given values b (where abs(b)<=1) and n (polynomial order), write a function that calculates atan(b) by using power series.

대략 7년 전

문제를 풀었습니다


Tiles Contest: Perfect Solutions for Large Unique Tile Boards
*Tiles Contest:* The Large Unique Boards/Tiles that perfectly solve (50x50) Return Perfect solutions for both boards. Scoring...

대략 7년 전

문제를 풀었습니다


Approximation of Pi (vector inputs)
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

대략 7년 전

문제를 풀었습니다


geometric progression
I've modified my <http://uk.mathworks.com/matlabcentral/cody/problems/2800-arithmetic-progression previous program> so that it n...

대략 7년 전

문제를 풀었습니다


arithmetic progression
I've written a program to generate the first few terms of <https://en.wikipedia.org/wiki/Arithmetic_progression arithmetic progr...

대략 7년 전

문제를 풀었습니다


The sliding puzzle: 3D
This is an extension of <https://www.mathworks.com/matlabcentral/cody/problems/42842 problem 42842>. In this case, the puzzle is...

대략 7년 전

더 보기