Resuelto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

2 meses hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

2 meses hace

Resuelto


Return area of square
Side of square=input=a Area=output=b

2 meses hace

Resuelto


Add two numbers
Given a and b, return the sum a+b in c.

2 meses hace

Resuelto


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

2 meses hace

Resuelto


Solve the equation. Find X.

2 meses hace

Resuelto


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

2 meses hace

Resuelto


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

2 meses hace

Resuelto


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

2 meses hace

Resuelto


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

2 meses hace

Resuelto


Find the max element of the array
Find the max element of the array

2 meses hace

Resuelto


divide by 5

2 meses hace

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2 meses hace

Resuelto


Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

2 meses hace