A résolu


I want to know everything!
I am always a little bit paranoid. Now, I want to know what my co-workers do with my MATLAB when I am not here. Find (i...

presque 11 ans il y a

A résolu


Divide
Divide a number by other

presque 11 ans il y a

A résolu


Determine the rank of matrix
Determine the rank of given Matrix

presque 11 ans il y a

A résolu


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

presque 11 ans il y a

A résolu


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

presque 11 ans il y a

A résolu


find whether it is prime or not
For a given number find if its prime

presque 11 ans il y a

A résolu


Calculate volume of box
Calculate the volume of box,hiven its sides

presque 11 ans il y a

A résolu


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

presque 11 ans il y a

A résolu


volume of torus
Find volume of torus with a as major radius and b as minor

presque 11 ans il y a

A résolu


Area of a circle
Find the value for area of the circle if diameter is given

presque 11 ans il y a

A résolu


Solving a quadratic equation
Given a, b ​​and c, Return the solution of the following quadratic equation: a*x^2 + b*x + c = 0.

presque 11 ans il y a

A résolu


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

presque 11 ans il y a

A résolu


Create the following sequence : 0 1 1 4 9 25 64 169 ...
The sequence 0, 1, 1, 4, 9, 25, 64, 169, ... represents the square of the sequence of Fibonacci numbers. Let n repres...

presque 11 ans il y a

A résolu


Concatenate two strings
Its very easy. Just concatenate two strings.

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

presque 11 ans il y a

A résolu


Inverse of Hilbert matrix
Given a non-negative integer x, return the element-wise power of 2 of the inverse of Hilbert matrix.

presque 11 ans il y a

A résolu


Find the function 2
Given a set of point (x,y) and the coordinate x of a new point, find the y value of new point. Test Suite is based on only one ...

presque 11 ans il y a

A résolu


Given a matrix, return the last eigen value
Given a matrix, return the first eigen value For example: x = magic(5) 17 24 1 8 15 23 5 7 14 ...

presque 11 ans il y a

A résolu


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

presque 11 ans il y a

A résolu


only input
Return the output without writing any code into the function.

presque 11 ans il y a

A résolu


Find the function
Given a set of point (x,y) and the coordinate x of a new point, find the y value of new point.

presque 11 ans il y a

A résolu


Center of mass
Given a matrix M(m,n), where m is the number of vertices of the geometrical element and n is 2 or 3 (2D-plane figure or 3D-solid...

presque 11 ans il y a

A résolu


Fermat's Last Theorem - Fermat's conjecture
Fermat's Last Theorem (sometimes called Fermat's conjecture, especially in older texts) states that no three positive integers a...

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


sinus function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

presque 11 ans il y a

A résolu


Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

presque 11 ans il y a

A résolu


Is my wife right
This is question relies on the dilemma that every married man faces in his life. Which has one simple ans: So whatever the qu...

presque 11 ans il y a

A résolu


Orthonormal matrix
You decide whether any given matrix is an orthonormal matrix or not. If each column in a matrix is perpendicular to the other...

presque 11 ans il y a

A résolu


Time Expansion
How can you slow down any discrete-time signal? Example Input original signal x. x = [1 2 3 -1 -2 -5 -4] We want t...

presque 11 ans il y a

Charger plus