Community Profile

photo

Dani Péter


443 2019 年以降の合計貢献数

Dani Péter's バッジ

  • Introduction to MATLAB Master
  • Draw Letters
  • Commenter
  • Promoter
  • Community Group Solver
  • CUP Challenge Master
  • Solver

詳細を表示...

貢献した分野
表示方法

解決済み


Determine given vector is even or odd
Find the numbers of the input vector is odd or even then replace even with 1 and odd with 0 Example x = [ 3 3 4 6 1] ...

6ヶ月 前

解決済み


Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

6ヶ月 前

解決済み


Find 10's complement
Find 10's complement of a given number. An example is <http://electrical4u.com/9s-complement-and-10s-complement/ shown here>.

7ヶ月 前

解決済み


Find sum of negative elements in row.
Find sum of negative elements in row. Example x=[1 -5 3 4 -6 6 7 8 9 10] result = -11

7ヶ月 前

解決済み


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

7ヶ月 前

解決済み


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

7ヶ月 前

解決済み


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

7ヶ月 前

解決済み


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

7ヶ月 前

解決済み


Replace Negative(-) by 0 and positive by 1
In a given Matrix Replace all element having *Negative sign with 0* and *Positive elements with 1* .

7ヶ月 前

解決済み


Radians to Degrees
Convert radians to degrees.

7ヶ月 前

解決済み


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

7ヶ月 前

解決済み


Calculate Alcohol By Volume with Original and Final Gravity
Given an initial gravity of un-fermented wort (OG) and a final gravity of fermented wort (FG), better known as beer, it is possi...

7ヶ月 前

解決済み


Let's get back to school, and create multiplication tables
For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

7ヶ月 前

解決済み


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

7ヶ月 前

解決済み


Degrees to Radian
Convert degrees to radians

7ヶ月 前

解決済み


Nth root
Nth root of a number x

7ヶ月 前

解決済み


Feeling lucky?
Guess which number Cody is thinking (1 to 10)? (This is a game of luck more than skill. Good luck!)

7ヶ月 前

解決済み


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

7ヶ月 前

解決済み


Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

7ヶ月 前

解決済み


Reverse the input
Given an input (n), produce an output in the reverse order with out using string variables or string function. Example x ...

7ヶ月 前

解決済み


Generate the Matrix!
Given n, generate the following matrix: a = [ n n-1 n-2 ... 2 1; n-1 n-1 n-2 ... 2 1; n-2 n-2 n-2 ... 2 1;...

7ヶ月 前

解決済み


Area of square
Find the area of a square whose diagonal length is given as x.

7ヶ月 前

解決済み


raise 1/3
Raise a number to 1/3 power.

7ヶ月 前

解決済み


If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

7ヶ月 前

解決済み


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

7ヶ月 前

解決済み


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

7ヶ月 前

解決済み


Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

7ヶ月 前

解決済み


Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.

7ヶ月 前

解決済み


Generate the sum of Squares of the given number
|P(n) = 1^2 + 2^2 + ... + n^2| |P(1) = 1| |P(2) = 1 + 4 = 5;| |P(3) = 5 + 9 = 14;| |P(4) = 14 + 16 = 30;|

7ヶ月 前

解決済み


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

7ヶ月 前

Load more