已解决


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

12 months 前

已解决


Calculate the Hamming distance between two strings
Inspired by a similar Cody problem found <http://www.mathworks.com/matlabcentral/cody/problems/93-calculate-the-levenshtein-dist...

12 months 前

已解决


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

12 months 前

已解决


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

12 months 前

已解决


counting groups!
This problem is about counting groups. Example If you have x: x = [0.8 0.8 0.8 0.3 0.3 0.4 0.5 0.6 0.6 0.9] then a...

12 months 前

已解决


Sum of series VIII

12 months 前

已解决


Weighted average
Given two lists of numbers, determine the weighted average as follows Example [1 2 3] and [10 15 20] should result in 33.3...

12 months 前

已解决


Energy of a photon
&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883 Given the frequency F of a photon in giga hertz. Find energy E of this photon...

12 months 前

已解决


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

12 months 前

已解决


Matrix which contains the values of an other matrix A at the given locations.
If you have two matrices, which together give xc and yc coordinates into another matrix, eg : xc = [1 1 1; 2 2 1]; ...

12 months 前

已解决


Horizontal matrix sort
Given a matrix x with n rows and m columns, return a matrix y with n rows and 2m columns, such that every row in x is sorted fro...

12 months 前

已解决


Basic Mathematics 5
The total area of all four equal sections of the game field is N ft². Each section has a rectangle of dimensions X ft x Y ft re...

12 months 前

已解决


row removal
Consider a matrix and remove the first row of the matrix.

12 months 前

已解决


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

12 months 前

已解决


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

12 months 前

已解决


Calculate the acceleration of a crate
What is the acceleration of a crate if two robots apply F1 N and F2 N of force respectively and a frictional force of FR N acts ...

12 months 前

已解决


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

12 months 前

已解决


Choose the best fitting dominoes
You will be given a cell array of nx2 matrices. Choose one row from each matrix. These are the ordered pairs that will be placed...

12 months 前

已解决


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

12 months 前

已解决


Decimation
When dealing to the Roman Army, the term decimate meant that the entire unit would be broken up into groups of ten soldiers, and...

12 months 前

已解决


Resistance of a robot
What is the resistance of an industrial robot that draws P watts of power when connected to a power supply delivering V volts? R...

12 months 前

已解决


Find the index of nth maximum of a row vector of real numbers
Given a vector of real numbers x, find the index idx of _n_ th maximum value. If nth maximum occurs more than once, return the i...

12 months 前

已解决


Energy Conversion 1

12 months 前

已解决


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

12 months 前

已解决


Minkowski distance

12 months 前

已解决


Find the force required to support a lever
Students are designing a robot that will lift a block to the equilibrium position for transport to the scoring area. They have d...

12 months 前

已解决


What day is it?
Tell me what day is it. Return the full name of the day of the week as a string. e.g. It's June 12th 2014, so your function s...

12 months 前

已解决


Find Logic 15

12 months 前

已解决


Draw a '7' in a zero matrix!

12 months 前

已解决


Multiplication
Multiply a and b.

12 months 前

加载更多