解決済み


Swap the first and last columns (★★)
(copy of Prob 19) Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becom...

約1ヶ月 前

解決済み


Cody Problems in French : Trouvez la logique Pt.1
On rentre x = 4 et il en sort y = 160. Trouvez la logique entre x et y, aidez-vous de la test suite. Bon courage. P.S: L'...

約1ヶ月 前

解決済み


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

約1ヶ月 前

解決済み


Neural Net: Convolutional NN Back Propagation WP/WH/K LED Digit images; Variant Images Scored
This challenge is to return final WH, WP, and K matrices, given initial XImgset, WH, WP, K, EPY using convolution(Ximg,K), ReLU ...

約1ヶ月 前

解決済み


Neural Net: Convolutional NN Matrices Determination for LED Digit images; Variant Images Scored
This challenge is to return final WH and WP matrices, given XImgset, WH, WP, K, EPY using convolution(Ximg,K), ReLU on the hidde...

約1ヶ月 前

解決済み


Neural Net: Convolutional NN Matrices Determination for LED Digit images
This challenge is to return final WH and WP matrices, given XImgset, WH, WP, K, EPY using convolution(Ximg,K), ReLU on the hidde...

約1ヶ月 前

解決済み


Complete a 2nd order difference sequence
In Cody Problem 59791 ChrisR asks us to find the integer that completes a randomly sorted geometric sequence with one missing el...

約1ヶ月 前

解決済み


Steepest Descent Method
Write a function to find the values of a design variable vector, _x_, that minimizes an unconstrained scalar objective function,...

約1ヶ月 前

解決済み


Create spiral matrices
Create a matrix of a given size with sequential elements spiraling inward. For matrix height m and width n, the output should ...

約1ヶ月 前

解決済み


Finite Continued Fraction
Given an input real number x and a natural number n, output the row vector with the n first terms of the continued fraction. F...

約1ヶ月 前

解決済み


Find the smallest prime with n inside
Consider the sequence that begins 101, 113, 127, 131, 149, 151, 163,... Not only is every term prime, the th term is the smalles...

約1ヶ月 前

解決済み


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

約1ヶ月 前

解決済み


B-Zuckerman Numbers
Similar to my last problem (B_Harshad Numbers), B-Zuckerman Numbers are numbers that are divisable by the product of their digit...

約1ヶ月 前

解決済み


arrayfun bomb

約1ヶ月 前

解決済み


Who am I ?
Who am I ? Write any function that reveals itself under these constraints. Hint: I am combinatorial code, and I don't like stat...

約1ヶ月 前

解決済み


Quine : write a quine in MATLAB
Quine is a type of program whose output matches the source code. See: <https://en.wikipedia.org/wiki/Quine_(computing) Quine in...

約1ヶ月 前

解決済み


If you prick us, do we not bleed?
While doing some quick sewing to fix up your child's Halloween costume, you accidentally jab your finger with the needle. Refle...

約1ヶ月 前

解決済み


Montgomery Reduction Algorithm (REDC)

約1ヶ月 前

解決済み


Big numbers, least significant digits
Given two numbers, x and n, return the last d digits of the number that is calculated by x^n. In all cases, d will be the number...

約1ヶ月 前

解決済み


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

約1ヶ月 前

解決済み


Determine whether a number is a Gaussian prime
A Gaussian prime is a number that cannot be factored. For example, is not a Gaussian prime because it can be factored as the p...

約1ヶ月 前

解決済み


Exponents in Factorials
It's time to get excited about numbers!!! Well, we're just dealing with factorials here, but it's still a good reason to get ex...

約1ヶ月 前

解決済み


Find R*Rp-N*Np=1 given gcd(R,N)=1

約1ヶ月 前

解決済み


Anagram
Given two strings, check whether they're anagrams to each other or not.

約1ヶ月 前

解決済み


Bullseye Matrix with Zeros
Inspired by Problem 18, create a bullseye matrix with the addition of padding equal to 0 between concentric rings. Matrices are ...

約1ヶ月 前

解決済み


Wordle
Wordle is an english game where you need to guess a 5 letter word. For each guess you'll receive a feedback for the placement of...

約1ヶ月 前

解決済み


Cantor counting
Find the nth cantor's rational number. the sequence is given below in the link. Sequence: 1/1,1/2,2/1,3/1,2/2,1/3,1/4... ... .....

約1ヶ月 前

解決済み


Compute a sum
Write a function to compute the following sum Although a solution is available for general values of the coefficients, the co...

約1ヶ月 前

解決済み


Pitting corrosion on a metal plate: Count the number of pits
You are given an N x M matrix of _ones_ and _zeros_, which represents an image of a rectangular metal plate taken from the hull ...

約1ヶ月 前

解決済み


Count the number of reaction chains achievable in T mins
This problem is related to Problem <45467>. Let's denote a list of *N* compounds as 1, 2, ..., *N*. You are then given a list...

約1ヶ月 前

さらに読み込む