Solved


Convert a temperature reading from Celsius to an unknown scale
Two of the most famous temperature scales are the Celsius and the Fahrenheit scale. In reality, however, there are so many other...

meer dan 4 jaar ago

Solved


Find an optimal placement of coolers on a grid
In a certain chemical plant, 6 new pieces of cooling equipment (coolers) are to be installed in a vacant space. This vacant spac...

meer dan 4 jaar ago

Solved


Pascal's Equilateral triangle inside a Matrix!!!
Given a number of row 'n', generate the following pascal's matrix 'p' where spaces are filled by 'zeros'. number of row, n = ...

meer dan 4 jaar ago

Solved


Parsing Expressions - Binary Arithmetic Operators I
Parse and evaluate expressions like these: '1 + 2' '51 - 78' '42 * 9' The only operators are +, -, *. Both argu...

meer dan 4 jaar ago

Solved


Construcción de matrices a partir de vectores
Construye la matriz A=[1 2 2 1; 2 2 3 3;2 3 3 4; 1 3 4 4] utilizando los siguientes vectores. c=[1 2 3 4]; d=[2 3 4]; b...

meer dan 4 jaar ago

Solved


Simple Matrix
Make the following matrix without typing it in one by one. [1 2 3; 2 4 6; 4 8 12] x=[1 2 3].

meer dan 4 jaar ago

Solved


Box
Give the volume of a box, x is equal to the body diagonal.

meer dan 4 jaar ago

Solved


Word Ladder
Given a set of words, and two other words - start and destination, Find the smallest chain from start to the destination such...

meer dan 4 jaar ago

Problem


Word Ladder
Given a set of words, and two other words - start and destination, Find the smallest chain from start to the destination such...

meer dan 4 jaar ago | 1 | 10 solvers

Solved


Path of least resistance - Move all direction
Extension of the wonderful <https://www.mathworks.com/matlabcentral/cody/problems/1049-path-of-least-resistance Problem 1049> (P...

meer dan 4 jaar ago

Solved


Minimal Path - 04
Given a matrix, find the minimal path sum from any cell in the left column and finishing in any cell in the right column. You...

meer dan 4 jaar ago

Problem


Minimal Path - 04
Given a matrix, find the minimal path sum from any cell in the left column and finishing in any cell in the right column. You...

meer dan 4 jaar ago | 0 | 9 solvers

Solved


Minimal Path - 03
Given a matrix, find the minimal path sum from the top left to the bottom right corner. Now you can move up, right & down. ...

meer dan 4 jaar ago

Problem


Minimal Path - 03
Given a matrix, find the minimal path sum from the top left to the bottom right corner. Now you can move up, right & down. ...

meer dan 4 jaar ago | 0 | 9 solvers

Solved


Minimal Path - 02
Given a matrix, find the minimal path from the top left to the bottom right by only moving to the right and down so that the sum...

meer dan 4 jaar ago

Problem


Minimal Path - 02
Given a matrix, find the minimal path from the top left to the bottom right by only moving to the right and down so that the sum...

meer dan 4 jaar ago | 0 | 11 solvers

Solved


Don't be Too Greedy!
Refer to the prev problem <https://www.mathworks.com/matlabcentral/cody/problems/45416-don-t-be-greedy> A list of assignments...

meer dan 4 jaar ago

Solved


Graph Algorithms 3: Number of Connected Components
Given an adjacency matrix of a simple undirected graph, find the number of connected components.

meer dan 4 jaar ago

Solved


Determine connected components of a graph
Adjacency matrix of an undirected graph is given. Return the number of connected components in the graph.

meer dan 4 jaar ago

Solved


Most Frequent Word - 01
Given a document file or a character array, find out the most frequent word in that document. In the case of multiple words -...

meer dan 4 jaar ago

Problem


Most Frequent Word - 01
Given a document file or a character array, find out the most frequent word in that document. In the case of multiple words -...

meer dan 4 jaar ago | 1 | 21 solvers

Solved


Spiral Out - 02
An array is given. Convert it into a spiral matrix. For example, a=1:27; out=[21 22 23 24 25 26 20 ...

meer dan 4 jaar ago

Problem


Spiral Out - 02
An array is given. Convert it into a spiral matrix. For example, a=1:27; out=[21 22 23 24 25 26 20 ...

meer dan 4 jaar ago | 1 | 10 solvers

Solved


Spiral Out - 01
Create a spiral matrix ( clock-wise direction ) of size n. Try to do that without using the built-in function.

meer dan 4 jaar ago

Problem


Spiral Out - 01
Create a spiral matrix ( clock-wise direction ) of size n. Try to do that without using the built-in function.

meer dan 4 jaar ago | 0 | 19 solvers

Solved


Don't be Too Greedy!!
Refer to the prev problem <https://www.mathworks.com/matlabcentral/cody/problems/45450-don-t-be-too-greedy> For this time, ca...

meer dan 4 jaar ago

Problem


Don't be Too Greedy!!
Refer to the prev problem <https://www.mathworks.com/matlabcentral/cody/problems/45450-don-t-be-too-greedy> For this time, ca...

meer dan 4 jaar ago | 0 | 5 solvers

Problem


Don't be Too Greedy!
Refer to the prev problem <https://www.mathworks.com/matlabcentral/cody/problems/45416-don-t-be-greedy> A list of assignments...

meer dan 4 jaar ago | 0 | 6 solvers

Solved


Persistent Usage
This Challenge is to implement the Matlab Persistent variable capability. Given a sequence of Calls to a function return the ...

meer dan 4 jaar ago

Solved


PEMDAS test
Create the function that will return the following expression for x and y. <<https://i.ibb.co/RHWyzrv/Code-Cogs-Eqn-1.gif>> ...

meer dan 4 jaar ago

Load more