Solved


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]

8 years ago

Solved


Create tangent function out of sin and cos
Please don't use tan(x) directly

8 years ago

Solved


raise 1/3
Raise a number to 1/3 power.

8 years ago

Solved


Degrees to Radian
Convert degrees to radians

8 years ago

Solved


Extract a specific part of matrix!
In the given matrix, extract element that have odd rows and column number. For example A=[1 4 2 3 5] B=extractodd(A);...

8 years ago

Solved


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

8 years ago

Solved


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

8 years ago

Solved


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

8 years ago

Solved


Area of square
Find the area of a square whose diagonal length is given as x.

8 years ago

Solved


Create tangent function out of sine function only
Please don't use cosine and tangent functions

8 years ago

Solved


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

8 years ago

Solved


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

8 years ago

Solved


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

8 years ago

Solved


Horizontal matrix sort
Given a matrix x with n rows and m columns, return a matrix y with n rows and 2m columns, such that every row in x is sorted fro...

8 years ago

Solved


BaeIsAlwaysRight
Output yes whatever bae says

8 years ago

Solved


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

8 years ago

Solved


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

8 years ago

Solved


Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

8 years ago

Solved


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

8 years ago

Solved


Create cosine function out of sine
Please dont use cos(x) directly

8 years ago

Solved


Calculate the centroid of a triangle
Info: https://en.wikipedia.org/wiki/Centroid Example Input: x = [0 0 1]; % x-coordinate y = [0 1 0]; % y-coordinat...

8 years ago

Solved


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

8 years ago

Solved


Vertical matrix sort
Given a matrix x with n rows and m columns, return a matrix y with 2n rows and m columns, such that every column in x is sorted ...

8 years ago

Solved


Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.

8 years ago

Solved


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

8 years ago

Solved


Tax Calculator
Calculate the tax for a given income. 10% tax is paid for any income up to $2,000. 20% tax is paid for additional income u...

8 years ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

8 years ago

Solved


Nth root
Nth root of a number x

8 years ago

Solved


multiply an array by its position number
You have given an array. Multiply an array by its position number

8 years ago

Solved


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

8 years ago

Load more