Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


Area-03
There are two circles of equal size are inscribed inside a square. They are tangent to each other. <https://serving.photos.ph...

mehr als 5 Jahre vor

Gelöst


cube of number
find cube of number

mehr als 5 Jahre vor

Gelöst


square of a number
find square of a given number

mehr als 5 Jahre vor

Gelöst


square root
Find square root of given number

mehr als 5 Jahre vor

Gelöst


GCD

mehr als 5 Jahre vor

Gelöst


Adjoint matrix
given a matrix a, find the adjoint matrix of a.

mehr als 5 Jahre vor

Gelöst


Sum! Sum! Sum!
Calculate the sum of the sequence up to nth term >> a,aa,aaa,aaaa,... 2,22,222,2222,... [for a=2]

mehr als 5 Jahre vor

Gelöst


Squares of odd numbers upto a given range
Find the squares of odd numbers upto a given range. If Given x=6 return y=(1^2,3^2,5^2) y=1,9,25 If Given x=5 retu...

mehr als 5 Jahre vor

Gelöst


Find the next binary palindrome number
We all know, a *palindrome* is nothing but a number or character which remains the same after the forward or backward alteration...

mehr als 5 Jahre vor

Gelöst


Determine the perimeter of a three-quarter circle
If a circle has a diameter of x as an input value, then show the value of the perimeter of the three-quarter circle in output va...

mehr als 5 Jahre vor

Gelöst


Determine given vector is even or odd
Find the numbers of the input vector is odd or even then replace even with 1 and odd with 0 Example x = [ 3 3 4 6 1] ...

mehr als 5 Jahre vor

Gelöst


Sideways sum
Given natural number calculate its _population count_.

mehr als 5 Jahre vor

Gelöst


Evil Number
Check if a given natural number is evil or not. Read more at <https://oeis.org/A001969 OEIS>.

mehr als 5 Jahre vor

Gelöst


'Absolute value'
Create a function called own_abs, which is the absolute number entered as the input return value.

mehr als 5 Jahre vor

Gelöst


Adding Numbers
Add the input numbers to the original.

mehr als 5 Jahre vor

Gelöst


Determine the number of correct and incorrect answers
In a Multiple Choice Question Test, you are to sort out answer from 4 samples, one of them is correct answer. There are 50 quest...

mehr als 5 Jahre vor

Gelöst


determine the sum of fraction part for given matrix
determine the sum of fraction part for given matrix a=1.8308 8.9172 6.7537 1.5853 10.2858 5.3804 6.5497 ...

mehr als 5 Jahre vor

Gelöst


Minimum Maximum Sort Array
sort one array by put minimum value followed by maximum as follow a=[2 3 1 5] and the solution is y=[1 5 2 3 3 2 5 1];

mehr als 5 Jahre vor

Gelöst


Calculate time taken by light to reach earth surface
We know the time(seconds) taken by light to reach surface of earth. What if the distance varies yearly or source of light moves ...

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


How long do each of the stages of the rocket take to burn?
A space rocket has 3 stages: - stage 1, s1; - stage 2, s2; - stage 3, s3. If s1 burns 3 x as long as s2 which burns ...

mehr als 5 Jahre vor

Gelöst


Woodall number
Test whether the input is a Woodall number: <http://en.wikipedia.org/wiki/Woodall_number> _Please do not cheat by simply chec...

mehr als 5 Jahre vor

Gelöst


The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

mehr als 5 Jahre vor

Gelöst


New Matrix with vector addition on diagonal
consider 2 vectors x=[1 2 3] y=[4 5 6] then generate a new Matrix, where Addition of x & y will be diagonal Elements...

mehr als 5 Jahre vor

Gelöst


Cody Computer Part 4 : Are you a morning Cody player Addicted ?
This is a stupid Cody challenge. You just have to *click "Submit" between 7 and 9 AM.* ... Greenwich Mean Time (GMT). To see ...

mehr als 5 Jahre vor

Gelöst


Generate one sample of uniform random numbers between -pi and +pi
Generate one sample of uniform random numbers between -pi and +pi.

mehr als 5 Jahre vor

Gelöst


Remove the row average (★★★)
(copy of Prob. 963) Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solut...

mehr als 5 Jahre vor

Gelöst


Sum of terms in a series 2 (★★★)

mehr als 5 Jahre vor

Mehr laden