A résolu


Pseudo Square Root (Inspired by Project Euler 266)
Shamelessly copied from the Project Euler page for Problem 266: ------------- The divisors of 12 are: 1,2,3,4,6 and 12. T...

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


Halder function
Find the halder function value of a number

presque 10 ans il y a

A résolu


Find qube root
Find the quberoot of 27

presque 10 ans il y a

A résolu


modulus of a number
find the modulus of a given number

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


find sum of the numbers in array
calculate the sum of numbers in a given array

presque 10 ans il y a

A résolu


Find mean
given an array, find the mean of the number in that array

presque 10 ans il y a

A résolu


find max
You are given an array number find the maximum

presque 10 ans il y a

A résolu


find minimum
find the minimum from an array

presque 10 ans il y a

A résolu


Find the qube of a give number.
You are given a number, find the qube of that number.

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


Find subtraction
Given a, b. Find a-b

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

Charger plus