Feeds
已解决
generate a matrix of Legendre polynomials
input = x - the degree of the polynomial output = matrix of Legendre polynomials
12 days 前
已解决
Mesh the square with triangles
Problem statement An square is a regular polygon with 4 vertices and 4 edges. A triangulated mesh T (stands for triangles he...
2 months 前
已解决
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,...
2 months 前
已解决
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...
2 months 前
已解决
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...
2 months 前
已解决
Mesh the cube
Problem statement : mesh the cube with quadranglar / squared faces An cube / regular hexahedron is a regular polyhedron with ...
2 months 前
已解决
Create a New_Word
The output of the function is a new word created from the word entered into the function. The new word is created by deleting th...
3 months 前
已解决
Sort the vector with the given index
Given x = [1 2 4 8 17] and t = [1 3 2 5 4] then y = [1 4 2 17 8].
3 months 前
已解决
Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...
3 months 前
已解决
Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.
3 months 前
已解决
determine amount cookies left
started with 3 cookies and you never ate any how many are left
3 months 前
已解决
Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...
3 months 前
已解决
Set x value to each even index of vector y.
Set x value to each even index of vector y.
3 months 前
已解决
Solve expression III
Solve expression for given vector x. Expression = (tan(2*x^2+7*x-30.25)+log(x^3-2.25))/(nthroot(sin(x^3)^2+1/5*log(x^4-2.5),3))...
3 months 前
已解决
Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]
3 months 前
已解决
Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.
3 months 前
已解决
Find sum of negative elements in row.
Find sum of negative elements in row. Example x=[1 -5 3 4 -6 6 7 8 9 10] result = -11
3 months 前
已解决
Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.
3 months 前
已解决
Pascal's triangle
<https://en.wikipedia.org/wiki/Pascal%27s_triangle> if the order is: x = 3; the output will be: output = [0 0 0 1 0 0 ...
3 months 前
已解决
determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.
3 months 前
已解决
concatenate the elements
you should concatenate the elements of a matrix in one dimensional array, for example if the input is A = [1 2 3; 4 5 6; 7 ...
3 months 前
已解决
No more zeros
Given an array with zeros at the beginning or at the end, you should get the output without these zeros: input = [zeros(5...
3 months 前
已解决
what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example x = 70000; i=.10 y_correc...
3 months 前