Solved

Cryptography with A Square Matrix : Decoding

Previous Problem: <https://www.mathworks.com/matlabcentral/cody/problems/45279-cryptography-with-a-square-matrix-encoding Crypto...

1 year ago

Solved

Cryptography with A Square Matrix : Encoding

Matrix inverse operation can be used to encode or decode of a message. For example text = 'matlab & cody'. numeric e...

1 year ago

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

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

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

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

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

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

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

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

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

1 year 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: ...

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

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

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

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

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

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

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

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

1 year 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) ...

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

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

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

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

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

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

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

1 year ago