Solved


Code breaker, Part II: Operation Orthos
You have been tasked with decoding several batches of coded messages that have been intercepted. Based on previous intellig...

4 years ago

Solved


Determine whether the input is an anagram number
In Cody Problem 44293, Mehmet OZC asks us to spell numbers as words. For example, 67 would be “sixty-seven” and 76 would be “sev...

4 years ago

Solved


Reverse Boggle
*Description* In the classic Parker Brothers game <http://en.wikipedia.org/wiki/Boggle Boggle>, players find words from a 4x4...

4 years ago

Solved


Scrabble Scores - 13
This problem integrates components of <https://www.mathworks.com/matlabcentral/cody/problems/3084-scrabble-scores-11 Scrabble Sc...

4 years ago

Solved


Scrabble Scores - 12
This problem builds directly off of <https://www.mathworks.com/matlabcentral/cody/problems/3082-scrabble-scores-10 Scrabble Scor...

4 years ago

Solved


Scrabble Scores - 11
This problem builds on the previous problem, wherein you were provided a letter of an existing word on the board and from which ...

4 years ago

Solved


Scrabble Scores - 10
This problem is very similar to the previous problem. Here, you are provided a letter of an existing word on the board from whic...

4 years ago

Solved


Scrabble Scores - 9
After developing a sophisticated Scrabble scoring routine, it's time to write an optimization routine for single-word scoring. T...

4 years ago

Solved


Scrabble Scores - 8
This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

4 years ago

Answered
How to find x values from y value in "fit" function?
yval=-62; eqn=@(x)feval(f,x)-yval X1=fzero(eqn,4.8); X2=fzero(eqn,5.3);

4 years ago | 0

| accepted

Solved


Scrabble Scores - 7
This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

4 years ago

Solved


Scrabble Scores - 6
This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

4 years ago

Solved


Scrabble Scores - 5
This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

4 years ago

Solved


Scrabble Scores - 4
This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

4 years ago

Solved


Scrabble Scores - 3
This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

4 years ago

Solved


Scrabble Scores - 2
An <https://www.mathworks.com/matlabcentral/cody/problems/56-scrabble-scores introductory Cody problem> asks the user to score a...

4 years ago

Solved


minimum numbers of 1 to build n
The (Mahler-Popken) complexity of n: minimal number of 1's required to build n using + and *. see A005245. In this problem, yo...

4 years ago

Solved


String Logic 11
Examples: 'SUNDAY' --> 6 'MONDAY' --> 6 'TUESDAY' --> 7 'WEDNESDAY' --> 9 'THURSDAY' --> 8 'FRIDAY' --> 5 'SATURDAY' --...

4 years ago

Solved


String Logic 10
Examples: 'SUNDAY' --> 83 'MONDAY' --> 77 'TUESDAY' --> 84 'WEDNESDAY' --> 87 'THURSDAY' --> 84 'FRIDAY' --> 70 'SATURD...

4 years ago

Answered
removing repeats from lists
d=intersect(a,b); d=d(~ismember(d,c));

4 years ago | 0

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

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

4 years ago

Answered
odd and even functions
x=-pi:.001:pi; f=@(x).5*(sin(x)+abs(sin(x))); if isequal(f(x),f(-x)) even_odd=2;%even elseif isequal(-f(x),f(-x)) e...

4 years ago | 1

Answered
How to get a one function result?
function [out1,out2]=mainfun(input) out1=nan;out2=nan; try [out1]=fun1(input); end try [out2]=fun2(input); end

4 years ago | 1

Solved


String Logic 17
Examples: 'DIG' --> 'GDI' 'IMPORTANT' --> 'TANTIMPOR' 'DEAL' --> 'EALD' 'LIMB' --> 'IMBL' 'MOSTLY' --> 'YMOSTL'

4 years ago

Answered
What is the meaning of 'internal sorting rules' in 'sort' in Symbolic Math Toolbox?
A = [factorial(sym(1001)), exp(sym(1)) + factorial(sym(1000))] [~,s] = sort(vpa(A));%vpa the symbolic before sorting. A=A(s);%...

4 years ago | 0

Answered
Problems when sort 'sym' variables and 'vpa' double-precision number.
Why are you using symbolics? Double should be sufficient (these are not large numbers). D1 = (1 - exp(-beta*pdist2(X,u).^2)); ...

4 years ago | 0

Solved


String Logic 15
Examples: 'CAT' --> 'XZG' 'DOG' --> 'WLT' 'ROSY' --> 'ILHB' 'MOSTLY' --> 'NLHGOB'

4 years ago

Solved


String Logic 16
Examples: 'DIG' --> 'DIG' 'KIMBALL' --> 'ALLKIMB' 'DEAL' --> 'EALD' 'LIMB' --> 'IMBL' 'MADE' --> 'ADEM'

4 years ago

Solved


String Logic 19
Examples: 'DIG' --> 'I' 'IMPORTANT' --> 'MOTN' 'DEAL' --> 'EL' 'LIMB' --> 'IB' 'MOSTLY' --> 'OTY'

4 years ago

Load more