문제를 풀었습니다


Construyendo matrices parte 2
Construye la siguiente matriz a partir de otros tres vectores/matrices. [ 1 8 15 3 3 3 3 2 9 16 3 3...

2년 초과 전

문제를 풀었습니다


Say type of roots in quadratic equation
Given the coefficients of a quadratic equation, write a function that gives the output y='RealDifferent' if the roots are real a...

2년 초과 전

문제를 풀었습니다


Just another sum (JAS)
*Task:* Write a function that takes a vector X and returns the alternating sum of X: X(1)-X(2)+X(3)-X(4)+... *Example...

2년 초과 전

문제를 풀었습니다


Find the sum of all integers in a given matrix
Finding sum of all integers in a given matrix

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Cody problems in French : Trouvez la logique Pt.2
Trouvez la logique entre x et y, aidez-vous de la test suite. Bon courage. P.S: L'utilisation de "^" est de nouveau fortement...

2년 초과 전

문제를 풀었습니다


number of groups
In a classroom, *n* students work on a special project and the other students work in groups of five. If there are 18 students i...

2년 초과 전

문제를 풀었습니다


Determinants
Given a square matrix(A), find the determinant(d). For example: A = [1,3;4,5] d = 1*5-4*3 = -7

2년 초과 전

문제를 풀었습니다


Scalar Matrix Manipulation
Assume, input x is a scalar matrix such as, x = 2 0 0 0 2 0 0 0 2 th...

2년 초과 전

문제를 풀었습니다


Juego de posiciones
Crea una función que ordene vectores de tal manera que los primeros números sean negativos ordenados de menor a mayor. Y después...

2년 초과 전

문제를 풀었습니다


Add consecutive integer numbers
Given consecutive numbers, add the numbers *without using the sum command in MATLAB.*

2년 초과 전

문제를 풀었습니다


Equal temperament - musical notes and frequency
Starting from 440Hz note (musical note A above middle C), create 13 notes, using twelve-tone equal temperament, in Herz units. ...

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

2년 초과 전

문제를 풀었습니다


Find The Difference
Vector x is given.calculate the difference between the biggest and the smallest number that we can create from elements of x. f...

2년 초과 전

문제를 풀었습니다


convert 2D array of ones and zeros to checkerboard array of [1,2] where the original array was ones and zero elsewhere
Given a 2D array of ones and zeros, generate an equivalent sized checkerboard array of ones and twos. The checkerboard pattern s...

2년 초과 전

문제를 풀었습니다


Probability of red tulips
I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yell...

2년 초과 전

문제를 풀었습니다


Matrix Manipulation
Given an m*n matrix, see if a matrix contains any 0s in any row. if it contains 0 anywhere in any particular row, delete that ro...

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Number Power
Raise a number to itself.

2년 초과 전

문제를 풀었습니다


Get derivarive of polynomial given as vector array.
Get derivarive of polynomial given as vector array. Example p=[ 1 2 0 5 0 3 ]; result=[ 5 8 0 10 ...

2년 초과 전

문제를 풀었습니다


Basic Quadratic Equation
Create the equation: y=(3x)^2+(5x)+35 and compute y for various values of x

2년 초과 전

문제를 풀었습니다


Calculate roots of polynomial given as vector array.
Calculate roots of polynomial given as vector array. Example x=[1 2 0 5 0 3] result=[-2.7267 ; ...

2년 초과 전

문제를 풀었습니다


Find scalar product of two polynomials a and b, given as vector array.
Find scalar product of two polynomials given as vector array. Example a=[1 -1 2]; b=[2 4 1]; result=0

2년 초과 전

문제를 풀었습니다


Find Euclidean norm of given vector u.
Find Euclidean norm of given vector u. https://en.wikipedia.org/wiki/Euclidean_distance Example x=[1 1] result=sqrt(1^2+1^2...

2년 초과 전

문제를 풀었습니다


Calculate the sum of elements of n*n Hilbert matrix.
Calculate the sum of elements of n*n Hilbert matrix. For example, for n=5: HilbertMatrix = [1.0000 0.5000 0.333...

2년 초과 전

문제를 풀었습니다


Find product of eigenvalues of n*n magic matrix.
Find product of eigenvalues of n*n magic matrix. Example n=3 Matrix= [ 8 1 6; 3 5 7; 4 ...

2년 초과 전

문제를 풀었습니다


Calculate time taken by light to reach earth surface
We know the time(seconds) taken by light to reach surface of earth. What if the distance varies yearly or source of light moves ...

2년 초과 전

문제를 풀었습니다


Counting candies
In a classroom of |'n'| children, every even numbered child gets one big candy and every odd numbered child gets two small candi...

2년 초과 전

문제를 풀었습니다


Perfect square.
Determine if the input is a perfect square or not. Example - If input is 25, return 1. If input is 17, return 0.

2년 초과 전

더 보기