Solved

Calculate triangle area

Imagine that you want to calculate the areas of some triangles given in matrix form. First the coordinates of the vertices of th...

environ un an ago

Solved

¡Puntos de corte!

Crea una función que permita calcular los puntos de corte con los ejes X e Y de una función cuadrática indicada por el usuario e...

environ un an ago

Solved

Pixel density

<https://en.wikipedia.org/wiki/Pixel_density Pixel density> tells us how many pixels we can find within a unit of length. And a...

environ un an ago

Solved

Hanging cable - 01

The height of the poles is h the length of the cable is l u need to find the minimum distance between the poles whic...

environ un an ago

Solved

Kissing Circles-01

Three circles are mutually tangent to each other and also to a line. find the radius of the smallest circle. The radius of th...

environ un an ago

Solved

Area-06

The length of the side of a square is given. Draw 4 quarter-circles inside the square from 4 corners with a radius equal to t...

environ un an ago

Solved

Area-07

This is a follow up of the problem <https://www.mathworks.com/matlabcentral/cody/problems/45341-area-06> in this case, fi...

environ un an ago

Solved

Take it out

Consider the integer number sequence N (1 to infinity). After each iteration, take out the (k+1)th elements; where k is the n...

environ un an ago

Solved

Find the position of planet in solarsystem

Write a funtion named *nthplanet* which takes name of the planet as input string and provides the position of the planet, starti...

environ un an ago

Solved

Flag a convertible string

If a string is able to be entirely converted to an integer, return a "true" flag. Otherwise, return a false flag. For example: ...

environ un an ago

Solved

Find the centroid of triangle

Imagine that you want to calculate the *centroid* of some _triangles_ given in matrix form. First the coordinates of the vertice...

environ un an ago

Solved

Binary Array to Hex Representation

Given a binary array of bytes (lsb to msb), convert it into a hexadecimal representation (msb to lsb). For example: Input: [1 ...

environ un an ago

Solved

Remove duplicated vertices

First input V_in is a vertices list (X Y Z coordinates) which may contain duplicata (identical rows). Second input T_in is th...

environ un an ago

Solved

Query every vertices neighbor indices

Input T is a <https://fr.mathworks.com/help/matlab/ref/triangulation.html triangulation>. The purpose of this function is to ...

environ un an ago

Solved

Query edges list

Input T is a triangulation connectivity indices list (triplet list of indices -positive integers-, each index refering to a vert...

environ un an ago

Solved

Find neighbor triangle indices

First input T is a triangulation (triplet list of indices -positive integers-, each index refering to a vertex number in a corre...

environ un an ago

Solved

Query a vertex neighbors

First input T is a triangulation connectivity indices list (triplet list of indices -positive integers-, each index refering to ...

environ un an ago

Solved

Find edges from a vertex

First input is T, a triplet list of indices. Second input is i, a single index (positive integer). The goal of this function is ...

environ un an ago

Solved

Find triangles from edge

First input is T, a Triplet list of indices -whom each row actually contains the three indices of a triangle vertices-. size(T) ...

environ un an ago

Solved

Find a common edge

First input is T, a triplet list of indices. Second input is e = [e1 e2], a row vector, couple of indices (positive distinct int...

environ un an ago

Solved

Mean number of letters per word (Hard)

The previous problem in this series is <https://www.mathworks.com/matlabcentral/cody/problems/44852-mean-number-of-letters-per-w...

environ un an ago

Solved

Word Distance - Average Sort

Based on the method of <https://www.mathworks.com/matlabcentral/cody/problems/44815-word-distance-sum this problem>, write a fun...

environ un an ago

Solved

SatCom #6: Inclination of a Sun-Synchronous Orbit

*Satellite and Space Engineering - Problem #5* _This is part of a series of problems looking at topics in satellite and space...

environ un an ago

Solved

SatCom #5: Determine Elliptical Orbit Parameters

*Satellite and Space Engineering - Problem #5* _This is part of a series of problems looking at topics in satellite and space...

environ un an ago

Solved

SatCom #4: Satellite Orbit Altitude

*Satellite and Space Engineering - Problem #4* _This is part of a series of problems looking at topics in satellite and space...

environ un an ago

Solved

SatCom #3: Free Space Path Loss

*Satellite and Space Engineering - Problem #3* _This is part of a series of problems looking at topics in satellite and space...

environ un an ago

Solved

SatCom #2: Gain of a circular 'dish' antenna

*Satellite and Space Engineering - Problem #2* _This is part of a series of problems looking at topics in satellite and space...

environ un an ago

Solved

SatCom #1: Wavelength of an electomagnetic wave

*Satellite and Space Engineering - Problem #1* _This is the first of a series of problems looking at topics in satellite and ...

environ un an ago