문제를 풀었습니다


Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

3년 초과 전

문제를 풀었습니다


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

3년 초과 전

문제를 풀었습니다


Swap rows

3년 초과 전

문제를 풀었습니다


Angle between two vectors
Given 2 pairs of _cartesian co-ordinates_, determine the angle between the 2 vectors formed by the _points_ and the _origin_. An...

3년 초과 전

문제를 풀었습니다


Signed Magnitude
For a given input vector, return the value that is furthest from zero. For example, if x = [1 2 -12] return -12.

3년 초과 전

문제를 풀었습니다


Is this is a Tic Tac Toe X Win?
For the game of Tic Tac Toe we will be storing the state of the game in a matrix M. For this game: We would store the state ...

3년 초과 전

문제를 풀었습니다


Count the numbers
In a array x, count the number of times the number n appears in x. for example: x = [1 2 3 4 3 2 1 2] and n = 2 the answer sh...

3년 초과 전

문제를 풀었습니다


lb to kilogram
convert lb to kilogram units, easy

3년 초과 전

문제를 풀었습니다


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

3년 초과 전

문제를 풀었습니다


Replace Nan!
Replace Nan in the given vector(v) with 9999.

3년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.8
Given a list of grades in a class, write a script that gives the 2nd highest grade in the class and the average for the class. ...

3년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.15
Calculate: sin(pi/6) cos (pi) tan(pi/2)

3년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.1
Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...

3년 초과 전

문제를 풀었습니다


Insert zeros II

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


factorial
calculate x!

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


Determine whether the given number is palindrome or not.
A palindromic number (also known as a numeral palindrome or a numeric palindrome) is a number (such as 16461) that remains the s...

3년 초과 전

문제를 풀었습니다


Find the minimum element of the matrix
Example: If x = [3 9; 5 2] then y = 2

3년 초과 전

문제를 풀었습니다


Product of all elements in an array
Compute the product of all elements in an array.

3년 초과 전

문제를 풀었습니다


Double the length of the vector

3년 초과 전

문제를 풀었습니다


multiply an array by its position number
You have given an array. Multiply an array by its position number

3년 초과 전

문제를 풀었습니다


Geometric Series
Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.

3년 초과 전

문제를 풀었습니다


Find square of given number
Find Square of any number

3년 초과 전

문제를 풀었습니다


Remove and Sort
Given a randomized array n, sort it and remove all odd integers. n=5 y = [2 4]

3년 초과 전

문제를 풀었습니다


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

3년 초과 전

문제를 풀었습니다


Find sum of numbers on the cornice of a matrix.

3년 초과 전

문제를 풀었습니다


basic matrix operations: rotate and find sum of diagonal elements of the resultant matrix
For given input matrix a, rotate it by 90 degrees and find the sum of the diagonals. Example: Input: a = 1 ...

3년 초과 전

문제를 풀었습니다


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

3년 초과 전

문제를 풀었습니다


Ounces to Kilograms
convert ounces to kilograms, easy

3년 초과 전

더 보기