문제를 풀었습니다


Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

대략 12년 전

문제를 풀었습니다


Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

대략 12년 전

문제를 풀었습니다


Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

대략 12년 전

문제를 풀었습니다


Dealfun (1.0)
*Short description.* Write a function _dealfun_: [y1,y2,...,yn]=dealfun(fhandle,x1,x2,...,xn) which evaluates the f...

대략 12년 전

문제를 풀었습니다


Delete the rows in the middle
We will delete the rows in the middle and keep the first and the last rows. For example if input is [1 2 1 7 1 8 ...

대략 12년 전

문제를 풀었습니다


Negative Infinity
Round the given array a towards negative infinity.

대략 12년 전

문제를 풀었습니다


Positive Infinity
Round the array a towards positive infinity

대략 12년 전

문제를 풀었습니다


Concatenate a successive power matrix in a column matrix
Generate F = [M1 M^2 ... M^p] with M a matrix, without using for.

대략 12년 전

문제를 풀었습니다


Finger Counting
Just counting numbers using fingers. First all my ten fingers are closed. I will say 1 and open my one finger. Likewise for 6...

대략 12년 전

문제를 풀었습니다


distance to a straight line (2D) given any 2 distinct points on this straight line
Given 2 points P1,P2 on a straight line and a 3rd point, determine the distance of the 3rd point to the straight line. Your answ...

대략 12년 전

문제를 풀었습니다


return row and column indices given 2 values which define a range
Inspired by problem <http://www.mathworks.co.kr/matlabcentral/cody/problems/856-getting-the-indices-from-a-matrice> Inputs: - ...

대략 12년 전

문제를 풀었습니다


construct matrix with identical rows
Input a row vector such as x=1:10. Now we need to construct a matrix with L rows,of which every row vector is a copy of x. E...

대략 12년 전

문제를 풀었습니다


Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

대략 12년 전

문제를 풀었습니다


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

대략 12년 전

문제를 풀었습니다


Polynomial Multiplication
Multiply two polynomial equation.Given polynomial coefficients a and b.

대략 12년 전

문제를 풀었습니다


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

대략 12년 전

문제를 풀었습니다


Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...

대략 12년 전

문제를 풀었습니다


Let's get back to school: create mixed numbered fraction
A fractional number can be represented as mixed number. A "mixed number" consists of an integer followed by a proper fraction...

대략 12년 전

문제를 풀었습니다


Let's get back to school, and create multiplication tables
For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

대략 12년 전

문제를 풀었습니다


Largest territory
Determine whose territory is largest. If there are two more large territory, determine a smaller number. For example, X ...

대략 12년 전

문제


A SUBSREF variant that accepts the 'end'-operator.
Unfortunately, Matlab's |subsref| function does not support the |end| -operator. The |end| -operator is a powerfull method to re...

대략 12년 전 | 1 | 솔버 수: 5

문제를 풀었습니다


surface of parallelogram
Given 2 vectors of each 3 elements, determine the surface of the parallelogram which can be created from these 2 vectors.

대략 12년 전

문제를 풀었습니다


Concatenate strings
concatenate a variable number of input strings to produce one outputstring

대략 12년 전

문제를 풀었습니다


Multiplication
Multiply two numbers in a different manner. The numbers are given to you as vectors x and y. Example x = [ 1 2 0 1 ] ...

대략 12년 전

문제를 풀었습니다


Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

대략 12년 전

문제를 풀었습니다


Orthonormal matrix
You decide whether any given matrix is an orthonormal matrix or not. If each column in a matrix is perpendicular to the other...

대략 12년 전

문제를 풀었습니다


Simple Robotics 2 - End effector attitude
Given a structure as input to your function with the following fields: * robot.links(L1,L2,L3) * robot.jointangles(alfa1,alfa2...

대략 12년 전

문제를 풀었습니다


Find offset of given matrix element from first matrix element
Given matrix m and an element of that matrix, return the offset from its first element. e.g. m=[11 2 34; 40 51 6; 87 8 109] el...

대략 12년 전

문제를 풀었습니다


Determine the square root
Determine the square root of the value the user has entered, n.

대략 12년 전

문제를 풀었습니다


average for three points
how to calculate the average (for each three values of y) y=[2 3 5 3 4 2 3 4 5 3 2 7 8 6 5 5 4 3 3 3 2 ] you ...

대략 12년 전

더 보기