Gelöst


Swap

mehr als 3 Jahre vor

Gelöst


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

mehr als 3 Jahre vor

Gelöst


square root
Find the square root (y) of an input (x).

mehr als 3 Jahre vor

Gelöst


Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

mehr als 3 Jahre vor

Gelöst


Permutations of input vector
Find and output all permutations of given vector

mehr als 3 Jahre vor

Gelöst


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

mehr als 3 Jahre vor

Gelöst


Determine the square root
Determine the square root of the value the user has entered, n.

mehr als 3 Jahre vor

Gelöst


only input
Return the output without writing any code into the function.

mehr als 3 Jahre vor

Gelöst


easy problem
Find the last element of the array

mehr als 3 Jahre vor

Gelöst


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

mehr als 3 Jahre vor

Gelöst


Double all elements in the array
Duplicate all elements in the array

mehr als 3 Jahre vor

Gelöst


Summy's odd sum

mehr als 3 Jahre vor

Gelöst


divide by 5

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

mehr als 3 Jahre vor

Gelöst


Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

mehr als 3 Jahre vor

Gelöst


find the value

mehr als 3 Jahre vor

Gelöst


ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
MATLABでは,角括弧の中に要素を入れることで、ベクトルを作成できる。 x = [1 2 3 4] また次のようにも書ける(コンマはオプション)。 x = [1, 2, 3, 4] 問題:次のベクトルを出力する関数を作成せよ。...

mehr als 3 Jahre vor

Gelöst


Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...

mehr als 3 Jahre vor

Gelöst


Dudeney Numbers: Numbers which are the cube of their decimal sum
From Wikipedia: _A Dudeney number is a positive integer that is a perfect cube such that the sum of its decimal digits is equa...

mehr als 3 Jahre vor

Gelöst


Find the diagonal of the square of side L
You are given a square of side length L, find D the length of its diagonal.

mehr als 3 Jahre vor

Gelöst


Calculate roots of polynomial given as vector array.
Calculate roots of polynomial given as vector array. Example x=[1 2 0 5 0 3] result=[-2.7267 ; ...

mehr als 3 Jahre vor

Gelöst


Which one is More bigger?
we have two input like (x,y) our output (z) must wich one is bigger input.

mehr als 3 Jahre vor

Gelöst


Converts numbers into characters
Converts numbers into characters

mehr als 3 Jahre vor

Gelöst


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

mehr als 3 Jahre vor

Gelöst


to the 2 all elements
to the 2 all elements

mehr als 3 Jahre vor

Gelöst


the average value of the elements
Calculate the average value of the elements in the array

mehr als 3 Jahre vor

Gelöst


number play

mehr als 3 Jahre vor

Mehr laden