Solved

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

6 days ago

Solved

to the 2 all elements
to the 2 all elements

6 days ago

Solved

Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

6 days ago

Solved

Draw a '0' in a one matrix!

6 days ago

Solved

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

6 days ago

Solved

Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

6 days ago

Solved

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

6 days ago

Solved

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

6 days ago

Solved

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

6 days ago

Solved

Laws of motion 2

6 days ago

Solved

Total energy

6 days ago

Solved

Potential energy calculation

6 days ago

Solved

Kinetic energy calculation

6 days ago

Solved

Laws of motion 6

6 days ago

Solved

Laws of motion 5

6 days ago

Solved

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

6 days ago

Solved

Laws of motion 3

6 days ago

Solved

Laws of motion 1

6 days ago

Solved

Covering area
As an extension of the problem <http://www.mathworks.com/matlabcentral/cody/problems/416-polygon-area>, find the area, bounded b...

6 days ago

Question

Are there marker types sensitive to light ?
I know markers are theoritically zero dimension objects (as mathematical points), but sometimes I would like to use light (camli...

6 days ago | 1 answer | 1

### 1

Submitted

Point set grid simplify (2D, 3D)
Function to grid simplify a given point set. Help, doc, and examples included.

Solved

Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

6 days ago

Solved

Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

7 days ago

Solved

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.

7 days ago

Solved

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

7 days ago

Solved

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

7 days ago

Solved

Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

7 days ago

Solved

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

7 days ago

Solved

Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

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

7 days ago