Resuelto


Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

más de 1 año hace

Resuelto


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

más 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

más de 1 año hace

Resuelto


Reverse a matrix
Its simple. You have to reverse a given matrix.

más de 1 año hace

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.

más de 1 año hace

Resuelto


Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


Draw a '3' in a zero matrix!

más de 1 año hace

Resuelto


Draw a '8' in a zero matrix!

más de 1 año hace

Resuelto


Draw a '7' in a zero matrix!

más de 1 año hace

Resuelto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

más 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...

más de 1 año hace

Resuelto


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

más de 1 año hace

Resuelto


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

más de 1 año hace

Resuelto


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

más de 1 año hace

Resuelto


Linear Motion 2
During testing in the desert, a remotely operated vehicle travels D kilometers over rough terrain. The testing takes place over...

más de 1 año hace

Resuelto


Linear Motion 1
An object travels N feet in the first second of travel, N feet again during the second second of travel and N feet again during ...

más de 1 año hace

Resuelto


Energy Conversion 1

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


Temperature Conversion 2

más de 1 año hace

Resuelto


Temperature Conversion 1

más de 1 año hace

Resuelto


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

más de 1 año hace

Resuelto


Total energy

más de 1 año hace

Resuelto


Potential energy calculation

más de 1 año hace

Resuelto


Kinetic energy calculation

más de 1 año hace

Resuelto


Laws of motion 6

más de 1 año hace

Resuelto


Laws of motion 5
Calculate the force is u are given mass and acceleration.

más de 1 año hace

Resuelto


Laws of motion 3

más de 1 año hace

Cargar más