Community Profile

# Alfonso Nieto-Castanon

##### Last seen: 6ヶ月 前
4,206 2012 年以降の合計貢献数

#### Alfonso Nieto-Castanon's バッジ

すべて表示

Approximate the inverse tangent by power series
Given values b (where abs(b)<=1) and n (polynomial order), write a function that calculates atan(b) by using power series.

8ヶ月 前

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

8ヶ月 前

Area-05
The dimension of a rectangle is given. There are two circles of equal size that are inscribed inside it.The circles are tangent ...

8ヶ月 前

A secret can be told only to 2 persons in 5 minutes. Now, these 2 more persons can spread the secret to 4 other people in the ne...

8ヶ月 前

Last Digit of fibonacci number

8ヶ月 前

Opposite point of the earth, what is the antipodal of a point ?
Given two strings(lat and long) that represent the geographic coordinates of a point in the earth, you have to find out what is ...

8ヶ月 前

Generate a list of composite numbers

8ヶ月 前

Ackerman Function

8ヶ月 前

Beat the RNG - EASY

8ヶ月 前

Gapful numbers
If a number is divisible by the number formed by the first and last digit of that number then it is defined as a gapful number. ...

8ヶ月 前

Reepeating numbers in array
Repeating numbers in array In = [1 0 0 0 2 0 0 0 3 0 0 0 0 0 5 0 0 0 0]. Out = [1 1 1 1 2 2 2 2 3 3 3 3 3 3 5 5 5 5 5].

8ヶ月 前

One-hot encoding

8ヶ月 前

Find terms in the Connell sequence

8ヶ月 前

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

8ヶ月 前

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

8ヶ月 前

ZigZag - 03
Given a matrix of any size, print its elements from the zigzag form of the matrix. For example, a=[1 2 3; 4 5 6; ...

8ヶ月 前

i was a mistake

8ヶ月 前

Image Processing 004: Zernike Coefficients
*Fit Zernike Terms to a wavefront.* The class notes of <http://www.visualopticslab.com/OPTI535/Lectures/Class06_08.pdf Schwie...

8ヶ月 前

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

8ヶ月 前

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

8ヶ月 前

Maya - 01
Given a number, convert it into the Maya numeral system. <https://en.wikipedia.org/wiki/Maya_numerals> For example, n...

8ヶ月 前

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

8ヶ月 前

Hanging cable - 02
previous problem - <https://www.mathworks.com/matlabcentral/cody/problems/45373-hanging-cable-01> The height of the poles...

8ヶ月 前

How lucky r u ?
Find the nth number in the following sequence <https://oeis.org/A264940>

8ヶ月 前

Sieve of Eratosthenes
Find the nth lucky prime number. <https://planetmath.org/luckyprime> can u find a way for large n?

8ヶ月 前

chess position
given the position of a chess piece in algebric notation, convert it into 8 by 8 matrix format. For example, * 'Qd5' >> [3,4]...

8ヶ月 前

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

8ヶ月 前

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

8ヶ月 前