Gelöst

Maximum of ND-array
Find the maximum element of a N dimensional array. Example: A=[1 2 4 ; -20 4 10]; The maximum is 10.

3 Monate vor

Gelöst

Draw a '1' in a zero matrix!

5 Monate vor

Gelöst

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 Monate vor

Gelöst

Detect circles in images
Given an image and a target radius range, specified as [rmin rmax], find circles in the image. Your function should output an m-...

6 Monate vor

Gelöst

give-nth-decimal-place-of-pi up to 100 digits
max 100th place after the decimal point this is upgrade problem of 142

6 Monate vor

Gelöst

Ring Matrix
Given n (only odd), return output matrix a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. ...

6 Monate vor

Gelöst

Sum of digits of powers of 2
Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

6 Monate vor

Gelöst

Number of lattice points within a circle
Find the number of points (x,y) in square lattice with x^2 + y^2 =< n. This is related to Jame's <http://www.mathworks.com/matla...

6 Monate vor

Gelöst

The almost-birthday problem.
This is a harder version of the birthday problem. Now, you will have to determine the probability that two or more people in a r...

6 Monate vor

Gelöst

Compute the Schwarzschild radius for objects of mass m (kg). Use c = 299,792.458 km/s and G = 6.6738*10^-11 N*(m/kg)^2. Your fun...

6 Monate vor

Gelöst

Periodic Table II 101.
Given the symbol of an element, return its atomic number. This is the continuation of <http://www.mathworks.com/matlabcentral/co...

6 Monate vor

Gelöst

Special Relativity 101.
Special relativity states that the effective mass of an object varies as a function of its velocity. If *c* is the speed of ligh...

6 Monate vor

Gelöst

Number of vertices of a hypercube
Return the number of vertices of a n-dimensional hypercube.

6 Monate vor

Gelöst

Classification metrics

6 Monate vor

Gelöst

Minkowski distance

6 Monate vor

Gelöst

Divisors

6 Monate vor

Gelöst

Taxi vs Euclides

6 Monate vor

Gelöst

Sort a vector

6 Monate vor

Gelöst

F-score

6 Monate vor

Gelöst

Would you win a raffle?

6 Monate vor

Gelöst

Mean Square Error

6 Monate vor

Gelöst

Swap Red and Blue

6 Monate vor

Gelöst

Rotate the Image

6 Monate vor

Gelöst

Flip the Image

6 Monate vor

Gelöst

Gray Image

6 Monate vor

Gelöst

Taxicab distance

6 Monate vor

Gelöst

Solve the recursion

6 Monate vor

Gelöst

Sum multiples

6 Monate vor