photo

cokakola


Last seen: 2 days 前 |  自 2016 起处于活动状态

Followers: 0   Following: 0

guacamole and tomato salad

统计学

All
MATLAB Answers

1 个提问
0 个回答

Cody

0 个问题
1294 个答案

排名
35,118
of 302,322

声誉
1

贡献数
1 个提问
0 个回答

回答接受率
0.0%

收到投票数
1

排名
 of 21,716

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名
60
of 181,218

贡献数
0 个问题
1294 个答案

评分
17,252

徽章数量
80

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

  • MATLAB Central Treasure Hunt Finisher
  • Treasure Hunt Participant
  • Promoter
  • Leader
  • Computational Geometry III Master
  • Cody Challenge Master
  • Cody5 Hard Master
  • Indexing I Master
  • Cody 10th Anniversary 10-Day Streak
  • Cody Problems in Japanese Master
  • Combinatorics I Master
  • Logic

查看徽章

Feeds

排序方式:

已解决


The Classic 8-5-3 Sharing ( Medium )
You have 3 jugs with capacities [8,5,3]. The 8L jug, the others are empty: [8,0,0]. There is no tap and no drain. You can only p...

7 days 前

已解决


Two Jugs: Minimum Steps ( Medium )
Following the first problem, now you need to find the shortest path. Given two jugs with capacities A and B, find the minimum nu...

7 days 前

已解决


Is it Possible? ( Easy )
In the first part of series, we simplify the problem. Given two jugs with capacities A and B, and a target amount T, determine i...

8 days 前

已解决


Compute the maximal product of any two numbers whose concatenation is n
Write a function that takes an input and computes the maximal product of numbers that concatenate to . For example, if , then t...

12 days 前

已解决


Easy Sequences 64: Base-14 Arithmetic Function
For an integer , the base-14 arithmetic function, , is defined as follows: Convert to base-14, using the letters '' for digits...

12 days 前

已解决


Order of things - 3
This problem is closely related to <http://www.mathworks.nl/matlabcentral/cody/problems/2189-order-of-things-1 Problem 2189, Ord...

14 days 前

已解决


The Optimal 2D Guillotine Cutting Stock Problem
You are working in a factory that produces rectangular glass sheets. You have a large stock plate of size W x H. Customers have ...

26 days 前

已解决


Roots, Bloody Roots: part 1/2

26 days 前

已解决


Looking for Squares
Need n squares that equal one square all together, none zero, none fractured. For example, calling squares(2) should output [16 ...

7 months 前

已解决


Distance walked 3D
suppose you go from x-y-z coordinates [3,4,2] to [0,0,2] to [0,1,2] to [1,1,2], to [1,1,20] then you walked 25 units of distance...

7 months 前

已解决


Testing for randomness: uniform distribution of real numbers (distribution checking)
You will be presented with a variety of sequences of real numbers. Your job is to answer the question: "Is this a uniformly di...

7 months 前

已解决


Easy Sequences 106: Counting Pythagorean Triangles inside a Circle
Pythagorean Triangle is a right triangle all sides of which are represented by integers. Examples are triangles with sides and ...

7 months 前

已解决


Spell the number
Using the British short scale notation, write a function to return the correct spelling of a number passed as a numeric string i...

7 months 前

已解决


Easy Sequences 112: Almost Golden Integer Rectangles 1
A golden rectangle is a rectangle whose side lengths are in the golden ratio, , where: . ...

7 months 前

已解决


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as y = A.ⅇ^(-λt)*cos(2πft) where A, λ, and f are scalars and t is a vector. ...

7 months 前

已解决


Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

7 months 前

已解决


Find MPG of Lightest Cars
The file cars.mat contains a table named cars with variables Model, MPG, Horsepower, Weight, and Acceleration for several classi...

7 months 前

已解决


Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

7 months 前

已解决


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

7 months 前

已解决


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

7 months 前

已解决


Convert integers from base 10 to proper primary notation
This problem is the companion to Cody Problem 60782. The proper primary system of expressing non-negative numbers has three digi...

8 months 前

已解决


Convert integers from primary notation to base 10
The primary system of expressing numbers has three digits: m, x, and p, which correspond to -1, 0, and 1. The places in a primar...

8 months 前

已解决


Solutions to Generalized Pell Equation or Quadratic Diophantine
The generalized Pell equation is of the form: . Given D and N as inputs, output the first 50 positive integer solutions [x, y] s...

8 months 前

已解决


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

8 months 前

已解决


Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.

8 months 前

已解决


Largest Small n-Polygons or Biggest Little Polygon
Largest Small n-Polygons or Biggest Little Polygon for a number n is the polygon that has diameter one and that has the largest ...

8 months 前

已解决


5-year Annedversaries
This is the Bonus Round problem for the 2025 Cody Contest. Attend the watch party on Friday, March 27 to see how 6 champions fro...

8 months 前

已解决


Clueless - Lord Ned in the Game Room with the Technical Computing Language
[Warning: this is a nontrivial programming problem] Worried about the decline in reasoning skills in the clueless populace of...

11 months 前

已解决


Government of the Neds, by the Neds, for the Neds - Distribute the Nedsburg City Councilors
The city of Nedsburg consists of several islands, the number of which changes regularly, due to tectonic forces, shoddy civil en...

12 months 前

已解决


Who Holds the Lord Ned Challenge Shield?
During the Nedball Premier League regular season, each of the n teams plays each of the other (n-1) teams twice, once at home an...

12 months 前

加载更多