Solved


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

4 years ago

Solved


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

4 years ago

Solved


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

4 years ago

Solved


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

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

4 years ago

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

4 years ago

Solved


Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

4 years ago

Solved


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

4 years ago

Solved


Create an n-by-n null matrix and fill with ones certain positions
The positions will be indicated by a z-by-2 matrix. Each row in this z-by-2 matrix will have the row and column in which a 1 has...

4 years ago

Submitted


hho
The Harris Hawks Optimization code (matlab M-file) for optimizing benchmark functions.

4 years ago | 2 downloads |

0.0 / 5
Thumbnail

Submitted


pso - Particle Swarm Optimization
Standard Particle Swarm Optimization code (Matlab M-file) for the optimization of the benchmark function.

4 years ago | 8 downloads |

0.0 / 5

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

4 years 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;...

4 years ago

Solved


Converts numbers into characters
Converts numbers into characters

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


to the 2 all elements
to the 2 all elements

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


Draw a '0' in a one matrix!

4 years ago

Solved


Draw a '4' in a zero matrix!

4 years ago

Solved


Draw a '6' in a zero matrix!

4 years ago

Solved


Draw a '9' in a zero matrix!

4 years ago

Solved


Draw a '7' in a zero matrix!

4 years ago

Solved


Draw a '8' in a zero matrix!

4 years ago

Solved


Draw a '3' in a zero matrix!

4 years ago

Solved


Draw a '2' in a zero matrix!

4 years ago

Solved


Draw a '5' in a zero matrix!

4 years ago

Load more