Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Find subtraction
Given a, b. Find a-b

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Find qube root
Find the quberoot of 27

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Mehr laden