解決済み


Mean and standard deviation of times in string
Input(t) - cell of strings with times in format 'min:sec.ms' Output([m, s]) - two strings with mean and standard deviation wi...

約9時間 前

解決済み


Alternately upper-lower case
Modify the string to alternate between upper and lower case. For example, s='achyuta' output='AcHyUtA' Update - Test case...

約9時間 前

解決済み


Eliminate Polysyllabics: Long live short words!
Given a string s1, return s2 in which all the words with more than one syllable have been removed. To make things simple, we ...

約9時間 前

解決済み


ABBREVIATION
Abbreviate the given string. Consider Only Capital Letters. EXAMPLE If input is 'Abbreviation of The Given String' then ou...

約9時間 前

解決済み


Determine whether a number is a fibodiv number
The number 14 is a fibodiv number because you can divide it into 1 and 4, use those numbers as the seeds for a Fibonacci sequenc...

約9時間 前

解決済み


Find numbers in the Popular Computing Z-sequence
Here’s a quick one. In 1977 the magazine Popular Computing sought “problem situations for which the computer is the best (if not...

約9時間 前

解決済み


Sum the elements in rows of the Levine triangle
The Levine triangle starts as follows: Row 0: 2 Row 1: 1 1 Row 2: 1 2 Row 3: 1 1 2 To construct each row, r...

約9時間 前

解決済み


Solve a nonlinear difference equation

約9時間 前

解決済み


Lychrel Number Test (Inspired by Project Euler Problem 55)
The task for this problem is to create a function that takes a number _n_ and tests if it might be a Lychrel number. This is, re...

約9時間 前

解決済み


Champernowne Constant
The <http://en.wikipedia.org/wiki/Champernowne_constant Champernowne constant> is a real number whose digits in decimal represen...

約10時間 前

解決済み


Fermat's Last Theorem - Fermat's conjecture
Fermat's Last Theorem (sometimes called Fermat's conjecture, especially in older texts) states that no three positive integers a...

約10時間 前

解決済み


Convex Hull Capture
Imagine four points in uv that form a square. uv = [ ... 0,0; 0,2; 2,2; 2,0]; Now we have two more po...

約10時間 前

解決済み


List the vile numbers
Evil numbers, the subject of Cody Problem 2733 have an even number of ones in their binary representations, whereas odious numbe...

約10時間 前

解決済み


Find the nth nude number
The number 672 is a nude number because it openly displays three of its divisors: 6, 7, and 2. In other words, a nude number is ...

約10時間 前

解決済み


Implement a counter
Write a function that returns a function that counts the number of times it is invoked. Example: >> h = counter; >> h() ...

約10時間 前

解決済み


function on a moving window
Create a function that applies an operation (such as @sum, @mean, @std, @norm etc) to a moving window of the data. First exampl...

約10時間 前

解決済み


A Simple Tide Gauge with MATLAB
*&#8767 &#8767 &#8767 &#8767 &#8767 &#8767 &#8767 &#8767* You are standing in a few inches of sea water on a beach. You a...

約10時間 前

解決済み


Predicting life and death of a memory-less light bulb
*&#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &...

約11時間 前

解決済み


Sums of Multiple Pairs of Triangular Numbers
This is a follow-up to <https://www.mathworks.com/matlabcentral/cody/problems/44289 Problem 44289> - Find two triangular numbers...

約11時間 前

解決済み


Write c^3 as sum of two squares a^2+b^2
write c^3 as sum of two squares a^2+b^2. a and b must be integer and greater than zero. For example 5^3 = 2^2 + 11^2 5...

約11時間 前

解決済み


MATLAB Counter
Write a function f = counter(x0,b) to construct a counter handle f that counts with an initial value x0 and a step size b. E...

約11時間 前

解決済み


Mesh the convex hull of a random 3D point cloud
Problem statement The convex hull of a 3D point set is actually a first -though rough- triangulation of it. A triangulation,...

約13時間 前

解決済み


Mesh the pentagon (with the minimum number of triangles)
Problem statement An pentagon is a regular polygon with 5 vertices and 5 edges. Here below is an example of the vertex set V,...

約24時間 前

解決済み


Mesh the octahedron
Problem statement An octahedron is a regular polyhedron with 6 vertices and 8 triangular faces. It is also one of the five we...

約24時間 前

解決済み


Mesh the cube
Problem statement : mesh the cube with quadranglar / squared faces An cube / regular hexahedron is a regular polyhedron with ...

約24時間 前

解決済み


Mesh the tetrahedron
Problem statement An tetrahedron is a regular polyhedron with 4 vertices and 4 triangular faces. It is also one of the five w...

約24時間 前

解決済み


Mesh the dodecahedron
Problem statement An dodecahedron is a regular polyhedron with 20 vertices and 12 pentagonal faces. It is also one of the fiv...

約24時間 前

解決済み


Mesh the icosahedron
Problem statement An icosahedron is a regular polyhedron with 12 vertices and 20 triangular faces. It is also one of the five...

1日 前

解決済み


Build triangulation from -sorted- edge list
Problem statement An edge list is simply a N x 2 matrix of positive integers, in which N is the number of edges and each intege...

1日 前

解決済み


"mirror" matrix
Create n x 2n "mirror" matrix of this type: Examples For n = 2 m = [ 1 2 2 1 1 2 2 1 ] For n = 3 m = ...

1日 前

さらに読み込む