문제를 풀었습니다


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

거의 5년 전

문제를 풀었습니다


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


Subtract integers and add doubles
Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

거의 5년 전

문제를 풀었습니다


calculate PI without using pi function
There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

거의 5년 전

문제를 풀었습니다


Form a square matrix from four square sub-matrices
Create a square matrix, y, from 4 square sub-matrices that will be constructed (x1, x2, x3, x4): y = [x1 x2; x3 x4]; ...

거의 5년 전

문제를 풀었습니다


Times 5
Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

거의 5년 전

문제를 풀었습니다


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

거의 5년 전

문제를 풀었습니다


Mo money, mo math 1! (★★★)
(adapted from Prob 9 Cody team) You have a vector where the elements represent the number of $20 bills, $10 bills, $5 bills, ...

거의 5년 전

문제를 풀었습니다


Volume of Spherical Shell
In three-dimensional space, a spherical shell can be constructed from two concentric spheres. Determine the volume of a spheric...

거의 5년 전

문제를 풀었습니다


Calculate the hypotenuse of a right triangle without using ^ and sqrt ()
Find out the hypotenuse of right triangle. Say a = 4, b = 3 then c = 5 Please don't use ^ and sqrt() function.

거의 5년 전

문제를 풀었습니다


square root
Find square root of given number

거의 5년 전

문제를 풀었습니다


determine if
determine if the elements of a matrix is a nan and return true

거의 5년 전

문제를 풀었습니다


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

거의 5년 전

문제를 풀었습니다


Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

거의 5년 전

문제를 풀었습니다


Area Conversion 2

거의 5년 전

문제를 풀었습니다


Area Conversion 1

거의 5년 전

문제를 풀었습니다


wipe out!
make all the elements in given x zero.

거의 5년 전

문제를 풀었습니다


Repeat The Components of Matrix
Repeat The components of a matrix so that the size of the output matrix is double to input matrix and components are repeated ne...

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

거의 5년 전

문제를 풀었습니다


Sum of elements of a vector (★★★)
Given any vector x = [x1, x2, x3, ... xn], compute the sum of its elements. Thus, if x = [ 1 3 -2 5 ], then the sum of its el...

거의 5년 전

문제를 풀었습니다


Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

거의 5년 전

문제를 풀었습니다


Find the Area of a Polygon
Consider 2-D geometry and assume that the points are given in form of rows of a matrix. Find the area of polygon enclosed by the...

거의 5년 전

문제를 풀었습니다


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

거의 5년 전

문제를 풀었습니다


Create a square matrix with given conditions
Create a square matrix, M, which should be populated as follows: M = [ n^2 n * (n-1) n * (n-2) ... n * 2 n * ...

거의 5년 전

문제를 풀었습니다


row removal
Consider a matrix and remove the first row of the matrix.

거의 5년 전

더 보기