Solved


to the 2 all elements
to the 2 all elements

12 days ago

Solved


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

12 days ago

Solved


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

12 days ago

Solved


calculate the length of matrix
input 1 array, calculate the length

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

12 days ago

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

12 days ago

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.

12 days ago

Solved


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

12 days ago

Solved


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

12 days ago

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

12 days ago

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.

12 days ago

Solved


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

12 days ago

Solved


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

12 days ago

Solved


If
If a more than zero, then b = true.

12 days ago

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

12 days ago

Solved


Sum of first n positive integers
Given n, find the sum of first n positive integers Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these terms is 55

12 days ago

Solved


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

12 days ago

Solved


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

12 days ago

Solved


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

12 days ago

Solved


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

12 days ago

Solved


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

12 days ago

Solved


Find The Area Of Triangle Using Base & Height
You should find the area of the Triangle using base and height. Good Luck!

12 days ago

Solved


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

12 days ago

Solved


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

12 days ago

Solved


Square a Number
Given an input x, return y, which is equal to the square of x.

12 days ago

Solved


Convert Angstrom to Meters
Write a code that converts the angstrom unit to meters.(A is angstrom and m is meters.)

12 days ago

Solved


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return true if the triangle with sides a, b and c is right-...

12 days ago

Solved


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

12 days ago

Solved


MATLAB 101: Basic Calculator
Write a MATLAB function named basic_calculator that accepts two input numbers, A and B, and returns four distinct outputs: The ...

12 days ago

Solved


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

12 days ago

Load more