Solved


first element of matrix
find the first elements of a column matrix

9 years ago

Solved


find lenth of array
you have given an array, find the length of that.

9 years ago

Solved


list of prime numbers
n is given find the largest prime number <=n

9 years ago

Solved


Find subtraction
Given a, b. Find a-b

9 years ago

Solved


find square root of a positive real number
a number given, find the square root of that number

9 years ago

Solved


find "greatest common divisor" of two integer value
A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

9 years ago

Solved


Find remainder when x is divided by 3
Find remainder when x is divided by 3

9 years ago

Solved


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

9 years ago

Solved


Find qube root
Find the quberoot of 27

9 years ago

Solved


find the Area of a rectangle
length is x width is y what is the area of the rectangle?

9 years ago

Solved


iteration of N blank spot
we have N spot which can be blank o filled calculate the number of iteration for these spots. e.g. N=2 1- blank blank 2- bl...

9 years ago

Solved


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

9 years ago

Solved


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

9 years ago

Solved


Calculating cost
You sold a Product at $x and gain 10% What was the cost of the product?

9 years ago

Solved


Select every other element of a matrix
Write a function called outMat = odd_idx( myMat ) that takes a matrix, myMat, as input argument and returns a matrix th...

9 years ago

Solved


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

10 years ago

Solved


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

10 years ago

Solved


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

10 years ago

Solved


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

10 years ago

Solved


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

10 years ago

Solved


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

10 years ago

Solved


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

10 years ago

Solved


Square root of a number
Write a code that will output the square root of x.

10 years ago

Solved


If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

10 years ago

Solved


Vector with a repeated entry
Create a row vector of length n, filled with 5's. For example, if n = 3, output = [4 4 4] Hint: Search for the function...

10 years ago

Solved


Log of a number
Write a script that will give the log of x as output.

10 years ago

Solved


Is my wife really right?
For every input, output the string 'yes' once. Example: [yes1, yes2] = YesSheIs('Am I right?', 'Do you love me?') yes1 = '...

10 years ago

Solved


Create formatted value string Cell array of a vector
This Challenge is to create a cell array that contains strings of vector components in a given format. c=vector2formattedstri...

10 years ago

Solved


Multielement indexing of a row array
The row array birthRateChina stores the China birth rate (per 1000 people) for years 2000 to 2012. Write a statement that create...

10 years ago

Load more