Solved

String Logic 4

Example: 'CAT' --> 'IGZ' 'DOG' --> 'JUM' 'MATLAB' --> 'SGZRGH' 'ROSY' --> 'XUYE' 'TRUST' --> 'ZXAYZ' 'MOSTLY' --> 'SUYZ...

3 months ago

Solved

Swap Characters of a Single Word

Description: In the given input word, convert the lower case to upper case and vice versa. A to a, a to A ... Example: 'Matl...

3 months ago

Solved

Exhaust all possible logical vectors

Input a length argument and list all possible logical vectors of that length. My solution is of size 29. Can you find an even s...

3 months ago

Solved

List the Euclid numbers

Euclid proved that the number of primes is infinite with the following argument. Suppose the primes form a finite set , , . Comp...

3 months ago

Solved

Remove Upper Case Letters

Example Matlab --> atlab proBlem --> prolem Enter --> nter

3 months ago

Solved

String Logic 3

Example: 'CAT' --> 'RPI' 'DOG' --> 'SDV' 'MATLAB' --> 'BPIAPQ' 'ROSY' --> 'GDHN' 'TRUST' --> 'IGJHI' 'MOSTLY' --> 'BDHI...

3 months ago

Solved

Random Problem14 - Multiply a vector by a scalar of 2

Multiply a vector by a scalar of 2

3 months ago

Solved

Fill a rectangle with 1x1 and 2x2 tiles

A 3x2 rectangle can be filled with 1x1 and 2x2 tiles in three ways: The colors merely distinguish the sizes of the tiles. A 3...

3 months ago

Solved

String Manipulator

Write a script that takes a string as an input and returns a cell array containing – I. the count of vowels. II. Find the ind...

3 months ago

Solved

Determine whether the given number is palindrome or not.

A palindromic number (also known as a numeral palindrome or a numeric palindrome) is a number (such as 16461) that remains the s...

3 months ago

Solved

That's not my hat!

There exists a highly secretive hat consortium. Members possess identical hats. The members are invited to a meeting. All of the...

3 months ago

Solved

factorial

There are really some cody problems related to factorial of n, e.g., 42667, 45184, 46054, and etc. It is interesting to ask why ...

3 months ago

Solved

UICBioE240 problem 1.11

Store a series of numbers into a 4 by 4 matrix, starting with the first few positions going right and down, and leaving the rest...

3 months ago

Solved

make histogram

You probably know the function hist(x,n) to get the histogram. Now try to write the function yourself! For the cheaters wanting...

4 months ago

Solved

Perform Rubik's Cube Moves

A standard Rubik's Cube is shown in 3-D and also unfolded to identify the specific Tile-face numbering. The faces are White-U...

4 months ago

Solved

Mandelbrot Number Test [Real+Imaginary]

The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...

4 months ago

Solved

First use of arrayfun() and anonymous function @(x)

Create an anonymous function using @(x) for a parabola equation for the given coefficients stored in s with s(1)x2 + s(2)x + s(...

4 months ago

Solved

Two-output anonymous function?

Return a function handle that when applied to an input, it produces two outputs: the first is the same as the input, and the sec...

4 months ago

Solved

weekday and month

Given a year and a weekday, determine how many months of that year had five of those weekdays. It is kind of easy to find. Exam...

4 months ago

Solved

İmage Series 2 AND

Given two input first one is a number which is uint8, second one is image which is 8 bit gray scale image, the image has pixsels...

4 months ago

Solved

Cumulative probability of finding an unlikely combination

This is a supplemental problem to the <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition CryptoMath> ...

4 months ago

Solved

Eliminate Outliers Using Interquartile Range

Given a vector with your "data" find the outliers and remove them. To determine whether data contains an outlier: # Identi...

4 months ago