Solved


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

30 days ago

Solved


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

1 month ago

Solved


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

1 month ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average as follows Example [1 2 3] and [10 15 20] should result in 33.3...

1 month ago

Solved


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

1 month ago

Solved


Multiply the Diagonals of Two Vectors
Find the diagonals of vectors a and b and multiply them.

1 month ago

Problem


Multiply the Diagonals of Two Vectors
Find the diagonals of vectors a and b and multiply them.

1 month ago | 0 | 11 solvers

Solved


Sum the main diagonal of a matrix
Given a square matrix, return the sum of its main diagonal elements. Example: diag_sum([1 2 3; 4 5 6; 7 8 9]) returns 15

1 month ago

Solved


Prime or No
If the number is prime, make theCase = "YES", else, make it "NO".

1 month ago

Problem


Prime or No
If the number is prime, make theCase = "YES", else, make it "NO".

1 month ago | 0 | 12 solvers

Solved


Convert Celsius temperature to Fahrenheit
Given a temperature in Celsius, return the equivalent in Fahrenheit. Formula: F = C * 9/5 + 32Example: cel2fahr(100) returns 212...

1 month ago

Solved


Watermelon [MATLAB Cody Edition]
YOU CAN READ THE REAL CHALLENGE FROM THIS URL AND APPLY IT https://codeforces.com/problemset/problem/4/A NOW INSTEAD OF DISP...

1 month ago

Problem


Watermelon [MATLAB Cody Edition]
YOU CAN READ THE REAL CHALLENGE FROM THIS URL AND APPLY IT https://codeforces.com/problemset/problem/4/A NOW INSTEAD OF DISP...

1 month ago | 0 | 11 solvers

Solved


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

1 month ago

Solved


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

1 month ago

Solved


Problem Set 2
Make a calculator by the four main operators (op): + - * / And the two numbers (n1, n2). Don't forget to check to divisio...

1 month ago

Problem


Problem Set 2
Make a calculator by the four main operators (op): + - * / And the two numbers (n1, n2). Don't forget to check to divisio...

1 month ago | 0 | 34 solvers

Solved


Problem Set 1
You will get the vector "v", you should put it's length in a variable called "lngth", then... If it's length from 1 to 5, sz = ...

1 month ago

Problem


Problem Set 1
You will get the vector "v", you should put it's length in a variable called "lngth", then... If it's length from 1 to 5, sz = ...

1 month ago | 0 | 31 solvers

Solved


Switch-Case-Otherwise
You should make random numbers to 10, by 3 rows and 3 columns. Cases from 1 to 3, b = true. Otherwise, b = false.

1 month ago

Problem


Switch-Case-Otherwise
You should make random numbers to 10, by 3 rows and 3 columns. Cases from 1 to 3, b = true. Otherwise, b = false.

1 month ago | 0 | 37 solvers

Problem


NOT
If a not equal to zero, b = true, else, b = false.

1 month ago | 0 | 44 solvers

Solved


OR
If a greater than zero or c less than 10, b = true, else, b = false.

1 month ago

Problem


OR
If a greater than zero or c less than 10, b = true, else, b = false.

1 month ago | 0 | 44 solvers

Solved


AND
If a greater than 0 and n less than 10, b = true, else, b = false. (Checking a should be in one line by AND special sign in MAT...

1 month ago

Problem


AND
If a greater than 0 and n less than 10, b = true, else, b = false. (Checking a should be in one line by AND special sign in MAT...

1 month ago | 0 | 45 solvers

Solved


Nested If(s)
If a greater than zero, then check, if a = greater that 1 and less than 10, then b = true, else, b = false.

1 month ago

Problem


Nested If(s)
If a greater than zero, then check, if a = greater that 1 and less than 10, then b = true, else, b = false.

1 month ago | 0 | 48 solvers

Solved


If-Elseif-Else
If a more than zero, b = true, if a = zero , b = zero, else, b = false.

1 month ago

Problem


If-Elseif-Else
If a more than zero, b = true, if a = zero , b = zero, else, b = false.

1 month ago | 0 | 52 solvers

Load more