Solved


Calculate correlation.
There are two data. y1=[0 1 2 3 4]' y2=[2 3 4 5 6]' We can see positive relationship between y1 and y2. The relations...

8 years ago

Solved


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

8 years ago

Solved


calculate interest saved because of reduction of interest rate
calculate interest saved because of a reduction of interest rate per year (Assuming No leap year) Currently, in India, rate o...

8 years ago

Solved


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

8 years ago

Solved


Rank of matrix
Find the rank of given matrix

8 years ago

Solved


Radians to Degrees
Convert radians to degrees.

8 years ago

Solved


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

8 years ago

Solved


true or false
if the matrix has a zero, return true. else, return false

8 years ago

Solved


Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?

8 years ago

Solved


Calculate Simple Intrest for given data
P,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I

8 years ago

Solved


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

8 years ago

Solved


Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

8 years ago

Solved


Degrees to Radian
Convert degrees to radians

8 years ago

Solved


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

8 years ago

Solved


Replace Negative(-) by 0 and positive by 1
In a given Matrix Replace all element having *Negative sign with 0* and *Positive elements with 1* .

8 years ago

Solved


calculate Compound Intrest
Calculate Compound Intrest for given data

8 years ago

Solved


raise 1/3
Raise a number to 1/3 power.

8 years ago

Solved


Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

8 years ago

Solved


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

8 years ago

Solved


Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

8 years ago

Solved


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

8 years ago

Solved


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

8 years ago

Solved


row removal
Consider a matrix and remove the first row of the matrix.

8 years ago

Solved


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

8 years ago

Solved


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

8 years ago

Solved


persistant sum
There will be 9 tests for this problem. In each test you will be provided with 2 integers n=[n1,n2], where n2 is equal to t...

8 years ago

Solved


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

8 years ago

Solved


Create an m x n array consisting only of an input value.
Create an array with m rows and n columns wherein all entries are assigned the input value x.

8 years ago

Solved


find the relation...
if given input is 1, output is 4. if input is 55, output is 3136.

8 years ago

Solved


Beat the test suite if you can :)
Solve this problem based on clues in the test suite.

8 years ago

Load more