Resuelto


Dickson Polynomials
Return the coefficients of nth (n>=0) Dickson polynomial of the 1st kind as follows - 1st row of the output will be the coeffi...

19 días hace

Resuelto


Hermite Polynomials
Problem 1304 deals with Hermite polynomial of the physicist's type. In this problem, Return the n-th Hermite polynomial of the ...

19 días hace

Resuelto


Generate Bernoulli polynomials
The Bernoulli polynomial is a polynomial of order with the properties that and for , where the prime denotes differentiat...

19 días hace

Resuelto


Cyclotomic Polynomials
Given a Natural number (N), return the corresponding Cyclotomic Polynomial.

20 días hace

Resuelto


Nuemann Polynomials
Return the coefficients of nth (n>=0) Nuemann polynomial, (a sequence in 1/t) as polynomials in alpha. The expected output is a...

20 días hace

Resuelto


Logistic map
The sequence defined by x_n = 4*r*x_{n-1}*(1-x_{n-1}) and a given 0 < x_1 < 1 turns each x_n into a polynomial of r. Write a fu...

20 días hace

Resuelto


fractal circles
Create a fractal with circles using the same process as the Sierpinski triangle (https://en.wikipedia.org/wiki/Sierpinski_trian...

21 días hace

Resuelto


Disjunctive Normal Form
This problem is the companion to Problem <http://www.mathworks.com/matlabcentral/cody/problems/1484 1484>. In Boolean logic, a f...

21 días hace

Resuelto


Compute the area of a Q
A figure resembling a Q (as in “quadrature”) is constructed in the following way: A right triangle is drawn with the left vertex...

21 días hace

Resuelto


Compute a sum involving the zeta function
Write a function to compute the sum for , where is the zeta function, the subject of Cody Problems 45939, 45988, and 45997.

21 días hace

Resuelto


Integrate a power tower
Write a function to compute this integral where . That is, the integrand is (x to the x) to the (x to the x) to the (x to the...

21 días hace

Resuelto


Count block fountains
A block fountain consists of rows of circles in which each row is a continuous block of circles (i.e., adjacent circles are tang...

21 días hace

Resuelto


Integrate a product of gamma functions
Write a function to compute the following integral: where and is the gamma function, the subject of Cody Problem 46025.

21 días hace

Resuelto


List the nth term of Rozhenko’s inventory sequence
Consider a sequence constructed by repeated inventories. A new inventory begins each time a zero is encountered. The first few i...

21 días hace

Resuelto


Compute Khinchin's constant
Khinchin's constant K_0 = 2.684542001... (also written "Khintchine's constant") has the amazing property that it is the limiting...

21 días hace

Resuelto


Integer Persistence, Product
Let's construct a sequence as follows: is a given natural number, and is the product of the digits of . The persistence of i...

22 días hace

Resuelto


Functional inputs
Return an n-dimensional array whose elements are the results of a function over a set of vectors. The (i,j,k, ...n)th element...

22 días hace

Resuelto


Solve for factorial of X
It gives you the number x, and set y equal to x factorial. Ex. There are 52 cards in a deck, each specific order of all 52 car...

22 días hace

Resuelto


Calculate Drag Force
Write a MATLAB function to compute the drag force on an object moving through air: ​ where: D is drag force (N) ρ is air de...

22 días hace

Resuelto


String count
given a string 'str', count the number of the followings - * letters * digits * white space * capital letters * smal...

22 días hace

Resuelto


Rotate a matrix without using rot90
rotate the input square matrix by certain degrees (e.g. 270 or 450 etc.) without using rot90 or flip function. its an extension...

22 días hace

Resuelto


another bullseye
create matrix like below -- for x=2, y=[1 1 1 1 1; 1 2 2 2 1; 1 2 3...

22 días hace

Resuelto


What time can I drive after drinking?
At T o'clock, after a hard day of Matlab, I immediately start drinking and treat myself to N pints of tasty beer. Each beer I dr...

22 días hace

Resuelto


Seperate array to small section according to its index position
Given a integer n, we can generate a sequence [0,1,2,3,4,..., 2^n-1], then we separate it to two sequence according to their ind...

22 días hace

Resuelto


AK Sorting according to given order
Conventional ascending order of one digit number is [ 0, 1, 2, ......9]. Now this order is changed and stored in vector a. For e...

22 días hace

Resuelto


En passant - 01
This is white's turn. The player moves his pawn. The pawn's previous and current positions are given. Determine whether th...

22 días hace

Resuelto


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

22 días hace

Resuelto


Castling-03
Given the position of different chess pieces on the chessboard, figure out whether castling is valid or not in the next move (wh...

22 días hace

Resuelto


Castling-02
This is a follow up of problem <https://www.mathworks.com/matlabcentral/cody/groups/1/problems/45329-castling-01> Given...

22 días hace

Resuelto


Castling-01
Given the position of only one player's chess pieces(some of them) on the chessboard, figure out whether castling is valid or no...

22 días hace

Cargar más