Community Profile

photo

li haitao


1,257 2012 年以降の合計貢献数

li haitao's バッジ

  • Knowledgeable Level 1
  • First Answer
  • Community Group Solver
  • Introduction to MATLAB Master
  • Cody5 Easy Master
  • Divisible by x Master
  • Cody Challenge Master
  • Draw Letters
  • Project Euler I
  • Matrix Manipulation I Master
  • R2016b Feature Challenge Master
  • Creator
  • Speed Demon
  • Leader
  • Scholar

すべて表示

貢献した分野
表示方法

解決済み


Generalised Hamming Number
Inspired by Project Euler n°204 and Problem 1308 by James A generalised Hamming number of type n, has no prime factor larger ...

7ヶ月 前

解決済み


Numbers with prime factors 2, 3 and 5.
Make a function which takes one positive integer n and returns a matrix with the numbers of the form (2^i)*(3^j)*(5^k) which are...

7ヶ月 前

解決済み


Find vampire numbers
A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such th...

7ヶ月 前

解決済み


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

7ヶ月 前

解決済み


Average speed for the entire trip
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...

8ヶ月 前

解決済み


Determine if input is a Narcissistic number
<http://en.wikipedia.org/wiki/Narcissistic_number Narcissistic number> is a number that is the sum of its own digits each raised...

8ヶ月 前

解決済み


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

9ヶ月 前

解決済み


Make an anonymous function that has variable output
Make a anonymous function that has variable output. f = @(x)... the following equation→equation(s) as followed has(ve) ...

9ヶ月 前

解決済み


Testing Problem Creation
This is where MATLAB based question will be

10ヶ月 前

解決済み


Number Power
Raise a number to itself.

10ヶ月 前

解決済み


Path of least resistance
Find the length of the shortest path through the matrix from the top left to bottom right corner. You may move right, down, or d...

10ヶ月 前

解決済み


Modified run-length companion vector
Given a vector x, return a vector that indicates the run length of any value in x. Each element in output vector shows how many ...

10ヶ月 前

解決済み


Some tweaks in summation, Can you decode? :)
There are some tweaks in summation that you might observe via test suites Try if you can

10ヶ月 前

解決済み


Get 1-4-3-4-4
Get the value of the indices in the title and assign it to an array

10ヶ月 前

解決済み


Pull the variable y_correct from the Caller's Workspace
*Description* This highlights a very easy to use and high-scoring cheat that can be used on almost all Cody questions.

10ヶ月 前

解決済み


Now 20% off!
Furloughs are hitting government workers this year. To commemorate getting one unpaid day off each week until the end of Septem...

10ヶ月 前

解決済み


Addition Partition
You will be given two numbers, N and K. Write a MATLAB function that will determine how many different unique ways you can have...

10ヶ月 前

解決済み


Break it up! Break it up!
You have N pennies. Write a Matlab script that will reveal how many different ways you can break up those pennies. For example...

10ヶ月 前

解決済み


Pair Primes
Let's define pair primes as follow; * *For 2 digits numbers:* 11 and 17 are pair primes because both of them are 2 digits pri...

10ヶ月 前

解決済み


"Find out the best cricket"
This is how I originally read Problem 2013, so let's just go with it. Give me the first and last name of the best cricket, rega...

10ヶ月 前

解決済み


wait for me
wait exactly x seconds please, need not be more than 2 seconds but must be accurate within say 50 milliseconds, your function mu...

10ヶ月 前

解決済み


Reference Index Number
Given a reference set R of elements (each unique but identical in type), and a list V of elements drawn from the set R, possibly...

10ヶ月 前

解決済み


Small Riddle
Mr. Smith has two children. If the older child is a boy, what are the odds that the other child is also a boy?

10ヶ月 前

解決済み


Diagonal Pattern
For a positive integer |n|, return an |nXn| matrix |mat| such that the value of each element in row |i| and column |j| is given ...

10ヶ月 前

解決済み


Penny flipping - calculate winning probability (easy)
Two players are playing a fair penny flipping game. For each flip, the winner adds one penny from the loser's collection to his/...

10ヶ月 前

解決済み


Woodall number
Test whether the input is a Woodall number: <http://en.wikipedia.org/wiki/Woodall_number> _Please do not cheat by simply chec...

10ヶ月 前

解決済み


Breaking Out of the Matrix
Do you want to take the Red Pill, or the Blue Pill? If you take the Blue Pill, you will simply pass along to the next problem...

10ヶ月 前

解決済み


The Glass Half Full
Identical glasses are placed in a triangular tower structure, such that the top level (L = 1) comprises one glass, the next leve...

10ヶ月 前

解決済み


Polarisation
You have n polarising filters stacked one on top of another, and you know each axis angle. How much light gets passed through th...

10ヶ月 前

解決済み


Sophie Germain prime
In number theory, a prime number p is a *Sophie Germain prime* if 2p + 1 is also prime. For example, 23 is a Sophie Germain prim...

10ヶ月 前

Load more