Solved


Compute Radar Wavelength from Frequency
Radar systems operate at electromagnetic frequencies. The wavelength of the transmitted signal is related to the operating frequ...

5 days ago

Solved


Compute Radar Duty Cycle
A pulsed radar transmitter operates for a limited amount of time during each transmission cycle. The duty cycle represents the f...

5 days ago

Solved


Radar Target Distance Calculation
A radar system sends a short electromagnetic pulse toward a target and measures the elapsed time between transmission and recept...

5 days ago

Solved


Jump Search - 02
Find the number of leaps you need to take to find the 'first occurrence' of an element in an array using the jump search algorit...

6 days ago

Solved


Jump Search - 01
Find the number of leaps you need to take to find an element in an array using the jump search algorithm. For example, a=[ 2,...

6 days ago

Solved


Magic Matrix
We are all familiar with the concept of magic matrix. In a magic matrix, the summation of all rows, columns and both diagonals...

6 days ago

Solved


Chain multiplication - 05
Following up on the problem in 55305, you found the optimal way of multiplying a chain of matrices. In problem 55315, you had t...

6 days ago

Solved


Chain multiplication - 04
Following up on the problem in 55305, you found the optimal way to multiply a chain of matrices. However, here in this problem,...

6 days ago

Solved


Chain multiplication - 03
Following up the problem in 55305, you found the minimum number of multiplications needed to multiply a chain of matrices. In ...

6 days ago

Solved


Sort Non-zeros
Consider 0s in a vector creates a break-point. sort all the sub-arrays created by those break points. For example, a = [3, 4, 1...

6 days ago

Solved


Check Digit - 02
Given a list of ISBN's, check whether they're valid or not. Prev Prob - <https://www.mathworks.com/matlabcentral/cody/problem...

6 days ago

Solved


Inscribed circle in a triangle
A circle of radius r is inscribed in a triangle. In the figure, Ac=x and Bc=y. values of x & y are given. Find the ar...

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

6 days ago

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

6 days ago

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

6 days ago

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

6 days ago

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

6 days ago

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

6 days ago

Solved


Weighted Names
A cell is given which contains several names. You've to return those names sorted by their weight. Weight is to be calculate...

6 days ago

Solved


Prime Sum
What is the minimum value that can be written as sum of primes in n different ways? For example, 10 is the minimum value th...

6 days ago

Solved


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

6 days ago

Solved


Amicable pair
Amicable numbers are two different numbers such that the sum of the proper divisors of each is equal to the other number. For e...

6 days ago

Solved


Fault in our Stars - 02
Create a window pattern with h-horizontal bars and v-vertical bars. For example, for h=4,v=4 '**********' '* ...

6 days ago

Solved


ZigZag - 04
Given a matrix, print all its elements in the spiral form (clockwise direction). For example, a=[16 2 3 13 ...

6 days ago

Solved


ZigZag - 02
Given a matrix, return the elements that are on the Z form of the matrix. For example - a=[1,2,3,4,5; 6,7,8,9,1; 1...

6 days ago

Solved


Seconds
Given the number of seconds after 12 am, find the time in the given format (12/24). If the format is not mentioned, use 24-hour...

6 days ago

Solved


$10,000 sequence
Find the nth term of the Hofstadter–Conway sequence and its chaotic cousin. <https://en.wikipedia.org/wiki/Hofstadter_sequenc...

7 days ago

Solved


Maya long Count
Given a Mayan date, calculate the number of days after the end of the last Great Cycle. <https://en.wikipedia.org/wiki/Maya_c...

7 days ago

Solved


Maya - 03
Following up on the previous two problems, now you've to add or subtract two Maya numerals. The 3rd input will be a function ...

7 days ago

Solved


Maya - 02
<https://en.wikipedia.org/wiki/Maya_numerals> Prev. prob. - <https://www.mathworks.com/matlabcentral/cody/problems/45375-maya...

7 days ago

Load more