문제를 풀었습니다


Convert a vector into a number
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...

8년 초과 전

문제를 풀었습니다


Set some matrix elements to zero
First get the maximum of each *row*, and afterwards set all the other elements to zero. For example, this matrix: 1 2 3 ...

8년 초과 전

문제를 풀었습니다


Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

8년 초과 전

문제를 풀었습니다


Flip the main diagonal of a matrix
Given a n x n matrix, M, flip its main diagonal. Example: >> M=magic(5); >> flipDiagonal(M) 9 24 1 ...

8년 초과 전

문제를 풀었습니다


Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

8년 초과 전

문제


Curve fitting (non-linear functions) & function handles
In this problem you are provided some raw data. You need to find a way of summarising the data with just a few parameters, so t...

8년 초과 전 | 1 | 솔버 수: 2

문제를 풀었습니다


DNA N-Gram Distribution
Given a string s and a number n, find the most frequently occurring n-gram in the string, where the n-grams can begin at any poi...

8년 초과 전

문제


Curve fitting (linear functions) & function handles
In this problem you are provided some raw data. You need to find a way of summarising the data with just a few parameters, so t...

8년 초과 전 | 1 | 솔버 수: 9

문제를 풀었습니다


Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F_n = F_(n-1) + F_(n-2) * where F_0 = 0 and F_1 ...

8년 초과 전

문제를 풀었습니다


Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

8년 초과 전

문제를 풀었습니다


Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

8년 초과 전

문제를 풀었습니다


Find the two-word state names
Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

8년 초과 전

문제를 풀었습니다


Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provi...

8년 초과 전

문제를 풀었습니다


Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

8년 초과 전

문제를 풀었습니다


Can you beat the lottery again (for hardcore coder) ?
Inspired by the Problem 1713 by Chris E. Here is the code that generates the first lottery number: rng('shuffle'); numb...

8년 초과 전

문제를 풀었습니다


Elapsed time is -0.005204 seconds.
Write a function that takes less than zero seconds to execute, as measured using tic and toc. For repeatability, the test case p...

8년 초과 전

문제를 풀었습니다


Convert degrees to radians
Given input in degrees, output to radians

8년 초과 전

문제를 풀었습니다


Primes Checker
Given variable inputs Check if they are prime numbers

8년 초과 전

문제를 풀었습니다


Create tangent function out of sine function only
Please don't use cosine and tangent functions

8년 초과 전

문제를 풀었습니다


Create tangent function out of cosine only
Please don't use tangent and sine functions

8년 초과 전

문제를 풀었습니다


Create sine function out of cosine
Please don't use sin(x) directly

8년 초과 전

문제를 풀었습니다


Create cosine function out of sine
Please dont use cos(x) directly

8년 초과 전

문제를 풀었습니다


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

8년 초과 전

문제를 풀었습니다


Determinant of a 3x3 Matrix
Return the determinant of a 3x3 matrix. The built-in Matlab function det is not allowed.

8년 초과 전

문제를 풀었습니다


Beat the test suite if you can :)
Solve this problem based on clues in the test suite.

8년 초과 전

문제를 풀었습니다


Basics - not so easy division
Please make a function whcih divides x/y, but pay attention for some exceptions with NaN,0,Inf. Sometimes return "ERROR" instead...

8년 초과 전

문제를 풀었습니다


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

8년 초과 전

문제를 풀었습니다


Construct an index vector from two input vectors in vectorized fashion
Create an index vector defined by two input vectors, one defining the beginnings of one or more index ranges, and the other defi...

8년 초과 전

문제를 풀었습니다


intersection of matrices
Given two matrices filled with ones and zeros, determine if they share a common row, column entry. These matrices are of identi...

8년 초과 전

문제


Anyone for tennis? Your chances of winning a tie-break game
Imagine you are playing tennis and the score has reached 'six games all' in a Tie-break Set, so therefore the next game shall be...

8년 초과 전 | 2 | 솔버 수: 5

더 보기