Gelöst


to the 2 all elements
to the 2 all elements

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Problem


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

etwa ein Monat vor | 0 | 11 Lösungsvorschläge

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Problem


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

etwa ein Monat vor | 0 | 12 Lösungsvorschläge

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

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

etwa ein Monat vor | 0 | 12 Lösungsvorschläge

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

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

etwa ein Monat vor | 0 | 36 Lösungsvorschläge

Gelöst


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

etwa ein Monat vor

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

etwa ein Monat vor | 0 | 34 Lösungsvorschläge

Gelöst


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.

etwa ein Monat vor

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.

etwa ein Monat vor | 0 | 39 Lösungsvorschläge

Problem


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

etwa ein Monat vor | 0 | 47 Lösungsvorschläge

Gelöst


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

etwa ein Monat vor

Problem


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

etwa ein Monat vor | 0 | 48 Lösungsvorschläge

Gelöst


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

etwa ein Monat vor

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

etwa ein Monat vor | 0 | 49 Lösungsvorschläge

Mehr laden