已解决


generate the matrix
given a value n (say 4) - generate the matrix like below; y= [0 1 2 3 4; -1 0 1 2 3; ...

4 years 前

已解决


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

4 years 前

已解决


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

4 years 前

已解决


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

4 years 前

已解决


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

4 years 前

已解决


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

4 years 前

问题


Remove duplicated triangles
Input T is a triangulation (triplet list of indices -positive integers-, each index refering to a vertex number in a correspondi...

4 years 前 | 1 | 37 个解题者

已解决


Find triangles from edge
First input is T, a Triplet list of indices -whom each row actually contains the three indices of a triangle vertices-. size(T) ...

4 years 前

问题


Find triangles from edge
First input is T, a Triplet list of indices -whom each row actually contains the three indices of a triangle vertices-. size(T) ...

4 years 前 | 1 | 22 个解题者

已解决


Number Power
Raise a number to itself.

4 years 前

已解决


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

4 years 前

已解决


Add consecutive integer numbers
Given consecutive numbers, add the numbers *without using the sum command in MATLAB.*

4 years 前

已解决


Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

4 years 前

已解决


Cody problems in French : Trouvez la logique Pt.2
Trouvez la logique entre x et y, aidez-vous de la test suite. Bon courage. P.S: L'utilisation de "^" est de nouveau fortement...

4 years 前

已解决


Easy problem
This is an easy problem. Just click on submit.

4 years 前

已解决


Sum of a geometric series
Give the sum of the first 'n' terms of a geometric series, given 'a' as the first term and 'r' as the ratio.

4 years 前

已解决


Find square of given number
Find Square of any number

4 years 前

已解决


Calculate the square root of a number
Input a Output b = srt(a)

4 years 前

已解决


calculate the length of matrix
input 1 array, calculate the length

4 years 前

已解决


easy problem
Find the last element of the array

4 years 前

已解决


Converts numbers into characters
Converts numbers into characters

4 years 前

已解决


Square
square root of x

4 years 前

问题


Find edges from a vertex
First input is T, a triplet list of indices. Second input is i, a single index (positive integer). The goal of this function is ...

4 years 前 | 2 | 17 个解题者

已解决


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

4 years 前

已解决


the average value of the elements
Calculate the average value of the elements in the array

4 years 前

已解决


Calculate the area of a circle
Given a circle of diameter x calculate its area

4 years 前

已解决


Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

4 years 前

已解决


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.

4 years 前

问题


Find a common edge
First input is T, a triplet list of indices. Second input is e = [e1 e2], a row vector, couple of indices (positive distinct int...

4 years 前 | 1 | 23 个解题者

已解决


Find a common vertex
First input is T, a triplet list of indices. Second input is i, a single index (positive integer). The goal of this function is ...

4 years 前

加载更多