Solved

Check if number is a square number

Test if integer i is a square number. Return logical true if it is.

4 months ago

Solved

Check if integer is a prime number

Check if integer i is a prime number. Returns logical true '1' if it is.

4 months ago

Solved

Slope of the line passing through two points

Determine the slope of a line passing through the points a=[x1 y1] and b=[x2 y2].

4 months ago

Solved

Remove all the columns contains only zero

Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...

4 months ago

Solved

Create Vector containing following elements

Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

4 months ago

Solved

Add two different item as shown in example

Add two different item as shown in example x=5; y='ab'; Then output must be'5ab';

4 months ago

Solved

Find out characteristics equation of given matrix.

Find out characteristics equation of given matrix. A=[0 2; 1 8] then char. eq is s^2-8*s-2=0 and answer should be [1 -8 -2] ...

4 months ago

Solved

Gamma Function

Evaluate the <http://en.wikipedia.org/wiki/Gamma_function/ Gamma Function>. Gamma_val(0) = Inf Gamma_val(1.2) = 0.9182

4 months ago

Solved

Generate vector according to sign of vector

Generate vector according to sign of vector Example: If A=[-2 0 5] then output must be[-1 0 1] meaning that for negative n...

4 months ago

Solved

Replace odd number in given matrix by zero

Replace the odd numbers in a given matrix with zero. Example A = [ 17 24 1 8 15 23 5 7 ...

4 months ago

Solved

find out eigenvector of matrix

find out eigenvector of matrix A =eye(3); Answer is [0 0 1; 0 1 0; 1 0 0];

4 months ago

Solved

Volume of Spherical Shell

In three-dimensional space, a spherical shell can be constructed from two concentric spheres. Determine the volume of a spheric...

4 months ago

Solved

Calculating Ring Area

In two-dimensional space, a ring can be constructed by using two concentric circles. Determine the area of a ring which has r1 ...

4 months ago