Resuelto


Inner product of two vectors
Find the inner product of two vectors.

alrededor de 1 año hace

Resuelto


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

alrededor de 1 año hace

Resuelto


Find max
Find the maximum value of a given vector or matrix.

alrededor de 1 año hace

Resuelto


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

alrededor de 1 año hace

Resuelto


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

alrededor de 1 año hace

Resuelto


Mass Conversion 1

alrededor de 1 año hace

Resuelto


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

alrededor de 1 año hace

Resuelto


Temperature Conversion 1

alrededor de 1 año hace

Resuelto


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


to the 2 all elements
to the 2 all elements

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

alrededor de 1 año hace

Resuelto


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

alrededor de 1 año hace

Resuelto


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.

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

alrededor de 1 año hace

Resuelto


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

alrededor de 1 año hace

Resuelto


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

alrededor de 1 año hace

Resuelto


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

alrededor de 1 año hace

Resuelto


Temperature Conversion 2

alrededor de 1 año hace

Resuelto


Compound Interest : Future Value
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...

alrededor de 1 año hace

Resuelto


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

alrededor de 1 año hace

Resuelto


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

alrededor de 1 año hace

Resuelto


Find Current in R circuit.
Find the current in an R circuit for a given input of Voltage (V) and Resistance(R).

alrededor de 1 año hace

Resuelto


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

alrededor de 1 año hace

Resuelto


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

alrededor de 1 año hace

Resuelto


Create a vector
Create a vector from 0 to n by intervals of 2.

alrededor de 1 año hace

Cargar más