문제를 풀었습니다


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

대략 9년 전

문제를 풀었습니다


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

대략 9년 전

문제를 풀었습니다


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

대략 9년 전

문제를 풀었습니다


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

대략 9년 전

문제를 풀었습니다


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples : n=2, A=[1 2 3] -> [1 1 2 2 3 3] n=0...

대략 9년 전

문제를 풀었습니다


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

대략 9년 전

문제를 풀었습니다


make an eye matrix which element is 1:n
for a given input n, make an n by n matrix which contains elements 1:n for example input =5 output = [1 0 0 0 0;0 2 0 0 0; 0...

대략 9년 전

문제를 풀었습니다


Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

대략 9년 전

문제를 풀었습니다


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

대략 9년 전

문제를 풀었습니다


Convert degrees to radians
Given input in degrees, output to radians

대략 9년 전

문제를 풀었습니다


Create tangent function out of sin and cos
Please don't use tan(x) directly

대략 9년 전

문제를 풀었습니다


Display positive elements of matrix.
Display positive elements of matrix.

대략 9년 전

문제를 풀었습니다


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

대략 9년 전

문제를 풀었습니다


Find remainder when x is divided by 3
Find remainder when x is divided by 3

대략 9년 전

문제를 풀었습니다


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

대략 9년 전

문제를 풀었습니다


Number of nonzero elements in matrix
Calculate the number of nonzero elements for given matrix

대략 9년 전

문제를 풀었습니다


Rotate array 90 degrees
Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

대략 9년 전

문제를 풀었습니다


Convert radians to degrees
Given input in radians, output to degrees

대략 9년 전

문제를 풀었습니다


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

대략 9년 전

문제를 풀었습니다


Select primes from the matrix.
Select primes from the matrix.

대략 9년 전

문제를 풀었습니다


Calculate solution of given polynomial
For example, y=function([3 -2 -4]) In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation. y=[1.5...

대략 9년 전

문제를 풀었습니다


find a number (cheat)
find a number input^5 = input the out put should be the number. try cheating

대략 9년 전

문제를 풀었습니다


Multiply two polynomials p and q given in in vector representation.
Multiply two polynomials p and q given in vector representation. Example p=[-2 0 1 -1 3 2] q=[1 0 -1 2 ...

대략 9년 전

문제를 풀었습니다


'Repeat!'
if matrix x=[1 2;3 4] y should be [1 2 1 2; 3 4 3 4; 1 2 1 2; 3 4 3 4;............],repeat n times! try this!

대략 9년 전

문제를 풀었습니다


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

대략 9년 전

문제를 풀었습니다


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

대략 9년 전

문제를 풀었습니다


First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero ...

대략 9년 전

문제를 풀었습니다


Simple polynomial evaluation
Compute the value of a polynomial of degree n with all coefficients '1', at value x. n is always n>=0. p(x)=1+x+x^2+...+x^n...

대략 9년 전

문제를 풀었습니다


Polynomial division
Divide a polynomial u by polynomial v and return the quotients only. Example: u = x^4+3*x^3+5*x+3 v = x^2+1 Answer: ...

대략 9년 전

문제를 풀었습니다


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

대략 9년 전

더 보기