Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Problem


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

fast 5 Jahre vor | 1 | 38 Lösungsvorschläge

Gelöst


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

fast 5 Jahre vor

Problem


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

fast 5 Jahre vor | 1 | 24 Lösungsvorschläge

Gelöst


Number Power
Raise a number to itself.

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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.

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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.

fast 5 Jahre vor

Gelöst


Find square of given number
Find Square of any number

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


easy problem
Find the last element of the array

fast 5 Jahre vor

Gelöst


Converts numbers into characters
Converts numbers into characters

fast 5 Jahre vor

Gelöst


Square
square root of x

fast 5 Jahre vor

Problem


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

fast 5 Jahre vor | 2 | 18 Lösungsvorschläge

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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.

fast 5 Jahre vor

Problem


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

fast 5 Jahre vor | 1 | 25 Lösungsvorschläge

Gelöst


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

fast 5 Jahre vor

Mehr laden