문제를 풀었습니다


Cancel Middle
Write a function called cancel_middle that takes A, an n-by-m matrix, as an input where both n and m are odd numbers an...

1년 초과 전

문제를 풀었습니다


Sort in descending order.

1년 초과 전

문제를 풀었습니다


Summation of integers

1년 초과 전

문제를 풀었습니다


Summy's even sum

1년 초과 전

문제를 풀었습니다


Summy's odd sum

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


Compare two strings.
Compare two strings, whether they are equal or not.

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


Replace x value into y value in string text.
Replace x value into y value in string text. Example text='Hello World' x='World', y='Universe' result='Hello Universe'.

1년 초과 전

문제를 풀었습니다


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;

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

1년 초과 전

문제를 풀었습니다


Find cosine between two given vectors u and v.
Find cosine between two given vectors u and v. Example u = [5 2 0 5 3 0]; v = [3 2 5 1 ...

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


Weighted moving average
x1=[1 2 1]; y1=[1 2 2 4 5 6 6 8]; Make function for weighted moving average. z(i)=(x1(i)*y1(i)+x1(i+1)*y1(i+1)+x1(i+2)*y1...

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


Component area
Find the area of the component below, all measurements are in mm <<https://image.ibb.co/hocruF/Component.png>>

1년 초과 전

문제를 풀었습니다


Detect a number and replace with two NaN's
Write code which replaces the number 1 with two NaNs. Example X = [ 1 2 NaN 4 1 3 7 NaN 1 4 NaN 2] ...

1년 초과 전

문제를 풀었습니다


Convert a number to its Roman representation
Convert a given number to its Roman representation. For example, if the number is 98, it should display 'XCVIII'

1년 초과 전

문제를 풀었습니다


Create the following sequence : 0 1 1 4 9 25 64 169 ...
The sequence 0, 1, 1, 4, 9, 25, 64, 169, ... represents the square of the sequence of Fibonacci numbers. Let n repres...

1년 초과 전

문제를 풀었습니다


Find the square of the sum of the digits of a number
If a number (n) is provided as an input, find the square of the sum of the digits of the number. Example If n = 21, the an...

1년 초과 전

문제를 풀었습니다


Sum sum!!!
Sum the numbers from 1 to n

1년 초과 전

문제를 풀었습니다


print 'Hello W0rld'

1년 초과 전

문제를 풀었습니다


STOP that car!!!
The maximum allowed speed for this road is 100. Find the cars that didn't observe the speed limit Arrest and fine them!!!

1년 초과 전

문제를 풀었습니다


Write script that gives matrix like the following example:)
if x=2; y=[2 1; 1 1] if x=4; y=[4 3 2 1 3 3 2 1 0 2 2 1 0 0 1 1] if x=5; y=[5 4 3 2 ...

1년 초과 전

문제를 풀었습니다


Create a function that gives a matrix like the following
x=3 y= [1 -1 -1 0 1 -1 0 0 1]; -------------------------------- x=5 y= [ 1 -1 -...

1년 초과 전

문제를 풀었습니다


Arrow!!
Write a script that gives (( follow the example)) if x=4 & output= 1 1 1 1 1 1 0 1 1...

1년 초과 전

문제를 풀었습니다


Generate a matrix as follows
write a Function that gives like the following for a random n: n=2 ans= [ 0 1 1 0] n=6 ans= [ 0 ...

1년 초과 전

문제를 풀었습니다


convert binary string to vector!!!

1년 초과 전

문제를 풀었습니다


Remove the polynomials that have positive real elements of their roots.
The characteristic equation for a dynamic system is a polynomial whose roots indicate its behavior. If any of the roots of the p...

1년 초과 전

더 보기