문제를 풀었습니다


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

대략 5년 전

문제를 풀었습니다


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

대략 5년 전

문제를 풀었습니다


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

대략 5년 전

문제를 풀었습니다


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

대략 5년 전

문제를 풀었습니다


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

대략 5년 전

문제를 풀었습니다


行列内の素数の平均をとろう
行列が与えられたときに、その行列内の素数の平均を計算する関数を作成しましょう。 例: 入力の行列が in = [ 8 3            5 9 ] のとき、 出力が 4 あるいは (3+5)/2 のようになり...

대략 5년 전

문제를 풀었습니다


prime test
find largest 2 digit prime number

대략 5년 전

문제를 풀었습니다


Basic commands - amount of inputs
Make a function, which will return amount of given inputs Example: amountinput(1,2,4,3,10) -> 5 , because we gave functio...

대략 5년 전

문제를 풀었습니다


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

대략 5년 전

문제를 풀었습니다


Complex number
For complex number c=a+bi, write code that will add a and b together.

대략 5년 전

문제를 풀었습니다


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

대략 5년 전

문제를 풀었습니다


Remove the Zero
Given an array n, remove all zeros

대략 5년 전

문제를 풀었습니다


Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


How do you make seven even?
Take away the s.

대략 5년 전

문제를 풀었습니다


Simple sum 1

대략 5년 전

문제를 풀었습니다


二つのベクトルの要素ごとの積の平均を計算しよう
二つの同じ長さのベクトルが与えられたとき、二つのベクトルの要素ごとの積の平均を求めましょう。 例: 二つのベクトル [1 2 3] と [10 15 20] が与えられたとき、 それぞれの要素ごとの積の平均を取ると、 解は 33.33...

대략 5년 전

문제를 풀었습니다


Red Cross ❌

대략 5년 전

문제를 풀었습니다


Summation of integers

대략 5년 전

문제를 풀었습니다


二乗になっている数を見つけよう
ある数のベクトルが与えられた場合、そのベクトルの要素の一つが他の要素の二乗であれば true を返し、それ以外の場合は false を返すようなコードを書いてみましょう。 例: 入力が a = [2 3 4] のとき、 出力 b は t...

대략 5년 전

문제를 풀었습니다


Find Logic 2

대략 5년 전

문제를 풀었습니다


10% Discount

대략 5년 전

문제를 풀었습니다


ベクトルの値が増加しているかを調べよう
ベクトルの値が増加している場合 (ベクトルの各要素が前の要素よりも大きい場合) には true を、そうでない場合には false を返すようなコードを書いてみましょう。 例: 入力が x = [-3 0 7] のとき、 関数の...

대략 5년 전

문제를 풀었습니다


Basic Addition

대략 5년 전

문제를 풀었습니다


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

대략 5년 전

문제를 풀었습니다


サイコロを作ろう
1から6までの独立かつランダムな数値を返すような関数を作成しましょう。 例: >> [x1,x2] = rollDice(); と入力すると x1 = 5 x2 = 2 のような解を返します。

대략 5년 전

문제를 풀었습니다


Find Sum of array

대략 5년 전

문제를 풀었습니다


Positive Infinity
Round the array a towards positive infinity

대략 5년 전

문제를 풀었습니다


Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...

대략 5년 전

문제를 풀었습니다


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

대략 5년 전

더 보기