문제를 풀었습니다


ASCII sum of phrases
Find the sum of the numeric equivalents of all characters entered in a phrase. For example: for the phrase 'My name is test', th...

거의 4년 전

문제를 풀었습니다


UICBioE240 2.7
Given two 3-element vectors x1 and x2, create a 3 x 3 x 3 matrix Y where (:,:,1) has all values of x1 * x2, (:,:,2) has all valu...

거의 4년 전

문제를 풀었습니다


Accessing value of variable whose name is stored in another variable as string.
Accessing value of variable whose name is stored in another variable as string. for example: var1=n; var2='var1'; %Assigning...

거의 4년 전

문제를 풀었습니다


Closely related?
Given a function past_records() that will report blood sugar level of two twin brothers some random number of days ago. For exam...

거의 4년 전

문제를 풀었습니다


Create array of all Distances between two Sets of Points
This Challenge is a subsection of Martian Pranks based on Tim's efficient Distance calculation between sets of points. Given Po...

거의 4년 전

문제를 풀었습니다


Volume of Cylindrical Shell

거의 4년 전

문제를 풀었습니다


Sort accordingly

거의 4년 전

문제를 풀었습니다


Solve The Equation
The coefficients of a system of equations are given in two vectors, x1 and x2. Write a function to solve the equation and return...

거의 4년 전

문제를 풀었습니다


New Matrix with vector addition on diagonal
consider 2 vectors x=[1 2 3] y=[4 5 6] then generate a new Matrix, where Addition of x & y will be diagonal Elements...

거의 4년 전

문제를 풀었습니다


Pairwise column flip
Given matrix *M_in*, flip every pair of columns. So if *M_in* is 1 2 3 4 1 2 3 4 then *M_out* is 2 1 4 3 2 1 4 3 ...

거의 4년 전

문제를 풀었습니다


Height of a 3D Pyramid
If a pyramid is made with one(1). What will be the height of the pyramid of square shaped base(n*n)? where input is n.

거의 4년 전

문제를 풀었습니다


Determine the perimeter of a three-quarter circle
If a circle has a diameter of x as an input value, then show the value of the perimeter of the three-quarter circle in output va...

거의 4년 전

문제를 풀었습니다


time difference
The arrays x and y contain time values in the form of: x = [hours minutes seconds] Create the output z which contains the...

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


Convert integer to base26 using letters
Write a function that converts a decimal integer to base26 using the letters of the english alphabet, i.e. 0->'a', 1->'b', 2->'c...

거의 4년 전

문제를 풀었습니다


Recursion - Fun
Generate the first k terms in the sequence a(n) define recursively by a(n+1)=p*a(n)+(1+a(n)) with p=0.9 and a(1)=0.5 ...

거의 4년 전

문제를 풀었습니다


Create cell array of numeric arrays
Convert the input to a cell array, but only if necessary. If the input is a numeric array, return a 1-by-1 cell array contain...

거의 4년 전

문제를 풀었습니다


Non-zero bits in 10^n.
Given an integer that is a power of 10, find the number of non-zero bits, k, in its binary representation. For example: * ...

거의 4년 전

문제를 풀었습니다


Total resistance of resistors in series
What is the total resistance of a number of resistors in series? A vector R contains the resistances (in Ohm) of n resistors, w...

거의 4년 전

문제를 풀었습니다


Compute hamming distance between two binary vectors represented using lists of 1-byte numbers
Let v and u be vectors of the same size with 8-bit integers (0-255). We want to compute the number of bits where those vectors d...

거의 4년 전

문제를 풀었습니다


Homemade: Control Charts
This problem is a simple version of control charts in statistics. Intput consists from 30 or more observations. * Upper limi...

거의 4년 전

문제를 풀었습니다


Factorial: Unlimited Size : java.math
This challenge is an application of java.math that allows unlimited precision calculations. The primary reference sites are <ht...

거의 4년 전

문제를 풀었습니다


Sum of a geometric series
Give the sum of the first 'n' terms of a geometric series, given 'a' as the first term and 'r' as the ratio.

거의 4년 전

문제를 풀었습니다


Find the complement of a number in binary
Input x is a decimal number and output y is the complement of binary representation of x. For example, x = 10 has the binary ...

거의 4년 전

문제를 풀었습니다


Find the area of a triangle having vertices (A,B), (C,D), and (E,F)
Find the area of a triangle using if we have the three vertices of the triangle

거의 4년 전

문제를 풀었습니다


Seperate 2nd column in a matrix

거의 4년 전

문제를 풀었습니다


Sudoku

거의 4년 전

문제를 풀었습니다


Tridiagonal matrix
Given vectors u and v, make a tri-diagonal symmetric matrix such that u is in the main diagonal and v is below and above diagona...

거의 4년 전

문제를 풀었습니다


The maximum sum of squares
Create a function file with an input maxval to determine the maximum number of terms for the series 1^2 + 2^2 + 3^2 + ... such t...

거의 4년 전

더 보기