解決済み


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

5年以上 前

解決済み


Solve the set of simultaneous linear equations
Given this pair of simultaneous linear equations: 2x + 3y = 23 3x + 4y = 32 Find the solution set (x,y)

5年以上 前

解決済み


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

5年以上 前

解決済み


Reverse a matrix
Its simple. You have to reverse a given matrix.

5年以上 前

解決済み


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

5年以上 前

解決済み


Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

5年以上 前

解決済み


Determine the Anti-diagonal of a Magic Square
Determine the anti-diagonal (crossing from top right to lower left) of a magic square of size n. Examples If n = 3 y =...

5年以上 前

解決済み


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

5年以上 前

解決済み


Negative Infinity
Round the given array a towards negative infinity.

5年以上 前

解決済み


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

5年以上 前

解決済み


NaN

5年以上 前

解決済み


Factorial

5年以上 前

解決済み


Size

5年以上 前

解決済み


Diagonal Pattern
For a positive integer |n|, return an |nXn| matrix |mat| such that the value of each element in row |i| and column |j| is given ...

5年以上 前

解決済み


Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

5年以上 前

解決済み


Enlarge array
Given an m-by-n numeric array (A) and a 1-by-2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m...

5年以上 前

解決済み


frame of the matrix
Given the matrix M, return M without the external frame.

5年以上 前

解決済み


Sophie Germain prime
In number theory, a prime number p is a *Sophie Germain prime* if 2p + 1 is also prime. For example, 23 is a Sophie Germain prim...

5年以上 前

解決済み


Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...

5年以上 前

解決済み


Volume of a Simplex
Return the volume of a <http://en.wikipedia.org/wiki/Simplex regular _n_-simplex> with a unit side length. Results are up to...

5年以上 前

解決済み


Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...

5年以上 前

解決済み


matrix rows and columns

5年以上 前

解決済み


matrix rows and columns

5年以上 前

解決済み


unsolvable

5年以上 前

解決済み


a usless problem

5年以上 前

解決済み


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

5年以上 前

解決済み


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

5年以上 前

解決済み


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

5年以上 前

解決済み


Cumulative product of a vector
Cumulative product of a vector example x=[1 2 5 10], then answer must be [ 1 2 10 100] *If you like this prob...

5年以上 前

解決済み


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

5年以上 前

さらに読み込む