문제를 풀었습니다


Put Two 1D matrices into one 1D matrix
Example: If input a = [1 2 3 4 5]; input b = [10 9 8 7 6]; then output will be, y_correct = [1 10 2 9 3 8 4 7 5...

2년 초과 전

문제를 풀었습니다


Linear Motion 2
During testing in the desert, a remotely operated vehicle travels D kilometers over rough terrain. The testing takes place over...

2년 초과 전

문제를 풀었습니다


Find out value of polynomial at different value.
Find out value of polynomial at different value. Example p(s) = s + 8 For s=0, value is 8.

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
Example: in = magic(5) in = 17 24 1 8 15 23 5 7 14 16 4 6 13 20 ...

2년 초과 전

문제를 풀었습니다


calculate linear convolution two vectors
for e.g in: a = [1 2 3] b = [4 5 6] out: y = [4 13 28 27 18]

2년 초과 전

문제를 풀었습니다


Largest Prime Number
Given a matrix X, find the largest prime number in X.

2년 초과 전

문제를 풀었습니다


ascii value
let input='a' output=97

2년 초과 전

문제를 풀었습니다


Half-Swap
Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...

2년 초과 전

문제를 풀었습니다


Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...

2년 초과 전

문제를 풀었습니다


Sum of numbers from 1-100
Sum up every whole number from 1 to 100. Include 1 and 100 in your calculation.

2년 초과 전

문제를 풀었습니다


Scrabble Scores - 2
An <https://www.mathworks.com/matlabcentral/cody/problems/56-scrabble-scores introductory Cody problem> asks the user to score a...

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Cycling — Critical Power
From Training and Racing with a Power Meter by Allen and Coggan: "A number of equations have been presented in the scientific...

2년 초과 전

문제를 풀었습니다


Rule of mixtures (composites) - weighted bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

2년 초과 전

문제를 풀었습니다


RPN Calculator for simple arithmetic expressions
Reverse-Polish-Notation (RPN) is a machine friendly form of calculating expressions. Example, to evaluate, (1+2)*4 + 5 - 3 you e...

2년 초과 전

문제를 풀었습니다


Summing the last column column
Given a matrix, return the sum of the last column of the array.

2년 초과 전

문제를 풀었습니다


Return part of an array
Given a 5x5 array, return a 3x3 array that contains the cells that are not on the edge of the array: Given this array Return...

2년 초과 전

문제를 풀었습니다


String Logic 8
Example: 'CAT' --> 65 'DOG' --> 68 'ROSY' --> 79 'MATLAB' --> 65 'TRUST' --> 82 'MOSTLY' --> 76

2년 초과 전

문제를 풀었습니다


Multiply by 5
Given an input x (scalar), multiply it by 5.

2년 초과 전

문제를 풀었습니다


Is it the answer to life the universe and everything?
The answer to life the universe and everything is 42, but this is naturally in base 13. Unfortunately, MATLAB is in base 10, so ...

2년 초과 전

문제를 풀었습니다


Find the surface area of a cone.
For instance, Given r (radius) = 3, and s (slant height) = 5: surface area should be 94.

2년 초과 전

문제를 풀었습니다


Determine if input is greater than pi
Evaluate if given number is greater than pi. If greater, return true; else, return false.

2년 초과 전

문제를 풀었습니다


Determine if input is greater than 100
Evaluate if given number is greater than 100. If greater, return true; else, return false.

2년 초과 전

문제를 풀었습니다


QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a standard U.S. QWERTY keyboard and it...

2년 초과 전

문제를 풀었습니다


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

대략 3년 전

문제를 풀었습니다


how tall are you?
you can find the length wit this code.

3년 초과 전

문제를 풀었습니다


Linear Motion 1
An object travels N feet in the first second of travel, N feet again during the second second of travel and N feet again during ...

3년 초과 전

문제를 풀었습니다


How many apples
You have x apples I take from you y apples now how many apples you have ?

3년 초과 전

문제를 풀었습니다


Normalizing a vector

3년 초과 전

더 보기