Statistiques
RANG
1 825
of 295 448
RÉPUTATION
36
CONTRIBUTIONS
1 Question
14 Réponses
ACCEPTATION DE VOS RÉPONSES
0.0%
VOTES REÇUS
8
RANG
314 of 20 227
RÉPUTATION
4 799
CLASSEMENT MOYEN
4.30
CONTRIBUTIONS
38 Fichiers
TÉLÉCHARGEMENTS
199
ALL TIME TÉLÉCHARGEMENTS
43609
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
environ 2 ans il y a
Problème
Create spiral matrices
Create a matrix of a given size with sequential elements spiraling inward. For matrix height m and width n, the output should ...
environ 2 ans il y a | 0 | 3 solveurs
A résolu
Return the middle element of an NxN square matrix where N is odd
Let's say you are given an NxN square matrix where N is always going to be an odd number: x = [ 1 2 3 4 5 6 7 8 ...
environ 2 ans il y a
A résolu
ZigZag - 04
Given a matrix, print all its elements in the spiral form (clockwise direction). For example, a=[16 2 3 13 ...
environ 2 ans il y a
A résolu
Wind outward from the center ...
Create an n-by-n matrix with elements ranging from 1 to n^2 in a rectangular spiral pattern. Example if n = 5 : 21 ...
environ 2 ans il y a
A résolu
poll: would you like the regexp (?@cmd) functionality to be banned in Cody?
This problem is a poll (and a little bit of "white hat hacktivism" as well) regarding Cody users sentiment about the use of rege...
plus de 9 ans il y a
A résolu
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
plus de 9 ans il y a
A résolu
Return the Nth Output from an Input Command
*Description* Given _F_, a cell array whose first element is a function handle and subsequent elements are arguments, return ...
plus de 9 ans il y a
A résolu
Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.
presque 10 ans il y a
A résolu
Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...
presque 10 ans il y a
A résolu
Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...
presque 10 ans il y a
A résolu
Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...
presque 10 ans il y a
A résolu
Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...
presque 10 ans il y a
A résolu
Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...
presque 10 ans il y a
A résolu
Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...
presque 10 ans il y a
A résolu
Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...
presque 10 ans il y a
A résolu
Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...
presque 10 ans il y a
A résolu
Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...
presque 10 ans il y a
A résolu
Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...
presque 10 ans il y a
A résolu
Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
presque 10 ans il y a
A résolu
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....
presque 10 ans il y a
A résolu
Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...
presque 10 ans il y a
A résolu
Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
presque 10 ans il y a
A résolu
Given two strings, find the maximum overlap
Given two strings s1 and s2, create a new string s3 which is as short as possible and contains both strings. If s1 = [1 2...
presque 10 ans il y a
A résolu
Tic Tac Toe FTW
Given a tic tac toe board: * 1 represents X * 0 represents empty. * -1 represents O It is X's move. If there is an imme...
presque 10 ans il y a
Problème
Split up vector or matrix delimited by NaNs
Given several vectors contained within one vector delimited by NaNs, return each individual vector as an element of a cell vecto...
presque 10 ans il y a | 1 | 7 solveurs
A résolu
Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...
presque 10 ans il y a
Problème
Test within tolerance
Given a vector of experimental data, D, and a vector of truth data, T, return FALSE if any +/- errors (D-T) are outside a given ...
plus de 10 ans il y a | 2 | 65 solveurs
A résolu
Number of problems
No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).
environ 11 ans il y a