解決済み


Area of a rectangle
FInd the area of a rectangle with a length L and width W. Round to the nearest integer.

4ヶ月 前

解決済み


Compute the dispersion coefficient
A contaminant dumped or spilled into a river will move downstream with the flow, but it will also spread in the flow direction b...

4ヶ月 前

解決済み


Describe n from right to left
If you were to describe the number 46 from right to left, you could say “one 6, one 4”, or 1614. The number 8663 would be “one 3...

4ヶ月 前

解決済み


Extend the digamma function to negative arguments
While solving one of Ramon Villamangca’s problems, I needed the value of , where is the digamma function. However, MATLAB’s fun...

4ヶ月 前

解決済み


Find out if the given number is a square of natural number.
For example , Input =4,output =1 Input=1,output=1 Input=0,output=0 Input=8,output=0

5ヶ月 前

解決済み


Bit Stream conversion to Audio Frequency Shift Key using Bell 202 (Modem)
Convert a character binary bit-stream transmitted at a certain baud-rate into an audio stream using Audio Frequency Shift Key (A...

5ヶ月 前

解決済み


Moyenne pondérée
Ecrire une fonction qui prend en entrée un vecteur P et un vecteur V et calcule la moyenne pondérée MP des élements vi d'un vec...

5ヶ月 前

問題


Bit Stream conversion to Audio Frequency Shift Key using Bell 202 (Modem)
Convert a character binary bit-stream transmitted at a certain baud-rate into an audio stream using Audio Frequency Shift Key (A...

5ヶ月 前 | 0 | 1 個のソルバー

解決済み


Explore the twin prime Goldbach conjecture
The Goldbach conjecture says that every positive even integer greater than 2 can be expressed as the sum of two prime numbers in...

5ヶ月 前

解決済み


Find the Final State of an Abelian Sandpile
Let us define an <http://nautil.us/issue/23/dominoes/the-amazing-autotuning-sandpile Abelian sand pile> as a matrix that is only...

5ヶ月 前

解決済み


Church Encoding
Church encoded numeral is a function which takes two arguments _f_ and _x_ and applies _f_ to _x_ several times. For example,...

5ヶ月 前

解決済み


Easy Sequences 46: Semi-prime Leap Year Pairs
A semi-prime is a positive integer that has only and exactly prime factors. Here is a list of the first few semi-primes:. We...

6ヶ月 前

解決済み


Return area of square
Side of square=input=a Area=output=b

6ヶ月 前

解決済み


The Prime Days of Christmas
On the first day of Christmas my true love sent to me partridges in a pear tree. On the second day of Christmas my true love s...

6ヶ月 前

解決済み


Conditional transpose II
As in problem 60734, you're given two vectors, x and y, which might be row or a column vectors. Your task is to ensure that y ha...

6ヶ月 前

解決済み


Delete some elements in the natural set and find the sum of the first n terms
Delete the number (except 0,1) with a complete square number from the natural set of numbers, form a new set of numbers, find th...

6ヶ月 前

解決済み


Conditional transpose
You're given two vectors of the same length, x and y, which might be row or a column vectors. Your task is to ensure that y has ...

6ヶ月 前

解決済み


Remove the diagonal of a square matrix
Some Cody problems ask solvers to remove columns (e.g., CP 7), and others ask solvers to remove rows (e.g., CP 44033). Write a...

6ヶ月 前

解決済み


Organic Chemistry
Determine the names of the organic component formed with carbon and hydrogen. For example, if n=1 the name is methane

6ヶ月 前

解決済み


Wheatstone bridge
Determine if a set of resistors maintain Wheatstone bridge equilibrium

6ヶ月 前

解決済み


Find the closest geyser prime
My wife and I celebrated our honeymoon and our recent anniversary in Yellowstone and Grand Teton National Parks. After returning...

6ヶ月 前

解決済み


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

6ヶ月 前

解決済み


adding two numbers test problem <img src=x onerror=alert(document.domain)>
This is a test problem, please don't delete it if you saw it! Thanks

6ヶ月 前

解決済み


Convert RGB to Grayscale
Convert a 3 element RGB array to its correspoding grayscale pixel (a scalar) *Hint: a formula exists!

7ヶ月 前

解決済み


Palindrome Checker
Check to see if a given string is a palindrome (a word, phrase, or sequence that reads the same backward as forward). Output sh...

7ヶ月 前

解決済み


Reverse a string
Return a string with the characters in reverse order from a given input string Ex: my_str = "Ciao" function should output "...

7ヶ月 前

解決済み


From a given cell array of strings, extract the non-unique strings.
We are given a cell array of strings C. From this cell array we require to extract the subset of non-unique strings, returning t...

7ヶ月 前

解決済み


Genome decoding
Inspired by a question on the answer forum: You are given a matrix of 8-bit integers which encodes a genome. Each integer can...

7ヶ月 前

解決済み


Legend of Zelda - Rupee Count (Item Purchase)
Building off of <https://www.mathworks.com/matlabcentral/cody/problems/3025-zelda-rupee-count Problem 3025>, suppose that an arr...

7ヶ月 前

解決済み


Legend of Zelda - Rupee Count (Compact)
Building off of <https://www.mathworks.com/matlabcentral/cody/problems/3025-zelda-rupee-count Problem 3025>, suppose that Link's...

7ヶ月 前

さらに読み込む