A résolu


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to find the logical indices o...

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


Roll the Dice!
Description Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. Example [x1,x2] = rollDice(...

11 mois il y a

A résolu


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.

11 mois il y a

A résolu


Area Conversion 1

11 mois il y a

A résolu


Area Conversion 2

11 mois il y a

A résolu


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

11 mois il y a

A résolu


Energy Conversion 1

11 mois il y a

A résolu


Energy Conversion 2

11 mois il y a

A résolu


Mass Conversion 2

11 mois il y a

A résolu


Mass Conversion 1

11 mois il y a

A résolu


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

11 mois il y a

A résolu


Temperature Conversion 2

11 mois il y a

A résolu


Total energy

11 mois il y a

A résolu


Potential energy calculation

11 mois il y a

A résolu


Kinetic energy calculation

11 mois il y a

A résolu


Laws of motion 1

11 mois il y a

A résolu


Laws of motion 2

11 mois il y a

A résolu


Laws of motion 3

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


Linear system of equations
Solve the system of equations in three variables.

11 mois il y a

A résolu


Laws of motion 6

11 mois il y a

A résolu


Brain Teaser Solver
Write an algorithm to solve this brain teaser: You have a square that is broken into four triangles, the area of three of tho...

11 mois il y a

A résolu


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

11 mois il y a

A résolu


num10
123456

11 mois il y a

A résolu


num9
num

11 mois il y a

A résolu


num8
num

11 mois il y a

A résolu


num7
num

11 mois il y a

Charger plus