문제를 풀었습니다


Falling on the Moon.

대략 1개월 전

문제를 풀었습니다


Average of even-numbered columns
Given a vector, find the average of even-numbered columns. e.g x = [ 4 6 8 9 1 2 7 ] y = ( 6 + 9 + 2 ) / 3

대략 1개월 전

문제를 풀었습니다


easy problem
Find the last element of the array

대략 1개월 전

문제를 풀었습니다


Double the length of the vector

대략 1개월 전

문제를 풀었습니다


Matlab Basics II - Operations and Matrix Dimensions
Write a function that takes two inputs, a & b, and outputs the sum and product of the two matrices. The matrices have OPPOSITE d...

대략 1개월 전

문제를 풀었습니다


Interior angles
Find the sum of interior angles for polygon of x sides.

대략 1개월 전

문제를 풀었습니다


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

대략 1개월 전

문제를 풀었습니다


Find the "ordinary" or Euclidean distance between A and Z
A, B and Z define three points in the 3D _Euclidean_ space of the form: A = [x1;y1;0]; B = [x2;y2;0]; Z = [x2;y2;z]; Find th...

대략 1개월 전

문제를 풀었습니다


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

대략 1개월 전

문제를 풀었습니다


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 ...

대략 1개월 전

문제를 풀었습니다


Square
square root of x

대략 1개월 전

문제를 풀었습니다


print 'Hello W0rld'

대략 1개월 전

문제를 풀었습니다


Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html x is kelvi...

대략 1개월 전

문제를 풀었습니다


Cannon Ball
Given g (acceleration due to gravity) and desired altitude x, find the minimum ground velocity of a cannon ball to reach x.

대략 1개월 전

문제를 풀었습니다


raise 1/3
Raise a number to 1/3 power.

대략 1개월 전

문제를 풀었습니다


area

대략 1개월 전

문제를 풀었습니다


MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

대략 1개월 전

문제를 풀었습니다


Moyenne pondérée
Ecrire une fonction qui prend en entrée un vecteur P et un vecteur V et calcule la moyenne pondérée MP des élements vi d'un vec...

대략 1개월 전

문제를 풀었습니다


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

대략 1개월 전

문제를 풀었습니다


edge detection
write a function that gives the indexes of rising or falling edge x is a vector (assume it contains always at least one eleme...

대략 1개월 전

문제를 풀었습니다


Previous Palindrome

대략 1개월 전

문제를 풀었습니다


Build the Well
Calculate the total time taken for building 'n' wells given : Worker A takes a hr to build the well alone Worker B takes b hr...

대략 1개월 전

문제를 풀었습니다


Find sum of alternate numbers in a vector
Find sum of alternate numbers in a vector starting from index 1

대략 1개월 전

문제를 풀었습니다


Add Even and Subtract Odd Numbers in an Array
For an input array, add all the even values and subtract the odd values. This final value is the output. E.g. input = [1 2 3 4...

대략 1개월 전

문제를 풀었습니다


Análisis código QR

대략 1개월 전

문제를 풀었습니다


Simple Interest : Calculate time in years
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

대략 1개월 전

문제를 풀었습니다


Total resistance of a network of resistors in series and parallel
What is the total resistance of a network of resistors in series and in parallel? A matrix R contains the resistances (in Ohm) ...

대략 1개월 전

문제를 풀었습니다


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

대략 1개월 전

문제를 풀었습니다


Combination of Vectors
Return a combination of vectors x1, x2 based on y1, y2 per: x(j) = 0 if y1(j) < y2(j) x(j) = x1(j) if y1(j)...

대략 1개월 전

문제를 풀었습니다


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

대략 1개월 전

더 보기